Marth Adjustments #7820
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pr_build | |
on: | |
pull_request: | |
branches: | |
- dev | |
types: [opened, reopened, synchronize, ready_for_review] | |
jobs: | |
pr_build: | |
env: | |
PLUGIN_NAME: hdr | |
runs-on: ubuntu-20.04 | |
container: | |
image: hewdrawremix/hewdraw-builder:latest | |
steps: | |
- name: setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: checkout version | |
uses: actions/checkout@v2 | |
#- name: Rust Cache | |
# uses: Swatinem/[email protected] | |
# with: | |
# workspaces: "plugin" | |
# cache-targets: true | |
# cache-all-crates: true | |
# build the project | |
- run: | | |
cd scripts && NO_RUST_NIGHTLY=1 python3 make_dist.py build version=1.69.420-pr name=hdr-pr && cd .. | |
env: | |
HOME: /root | |
## mock upload files | |
#- run: | | |
# mkdir distributions | |
# echo lol > distributions/hdr-switch.zip | |
# echo lol > distributions/hdr-ryujinx.zip | |
- name: Upload hdr-switch | |
uses: actions/upload-artifact@v3 | |
with: | |
name: hdr-switch | |
path: build/hdr-switch | |
- name: Upload hdr-ryujinx | |
uses: actions/upload-artifact@v3 | |
with: | |
name: hdr-ryujinx | |
path: build/hdr-ryujinx |