Update search code and offset for 13.0.2 (#6) #23
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: Rust Build | |
env: | |
PLUGIN_NAME: 'libparam_hook.nro' | |
VERSION: 'v13.0.1' | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
plugin: | |
runs-on: ubuntu-latest | |
container: jugeeya/cargo-skyline:3.0.0-dkp-beta | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build release NRO | |
run: | | |
PATH=$PATH:/root/.cargo/bin:/opt/devkitpro/devkitA64/bin /root/.cargo/bin/cargo-skyline skyline build --release | |
env: | |
HOME: /root | |
- name: Upload plugin artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: plugin | |
path: target/aarch64-skyline-switch/release/${{env.PLUGIN_NAME}} | |
upload: | |
runs-on: ubuntu-latest | |
needs: | |
- plugin | |
steps: | |
- name: Download all artifacts | |
uses: actions/download-artifact@v2 | |
- name: Display structure of downloaded files | |
run: ls -R | |
- name: Upload release | |
uses: meeDamian/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
prerelease: true | |
allow_override: true | |
gzip: false | |
tag: ${{env.VERSION}} | |
name: ${{env.VERSION}} | |
body: Build of ${{env.PLUGIN_NAME}} from master. | |
files: ./plugin/${{env.PLUGIN_NAME}} |