Skip to content

Commit

Permalink
grab nintendont artifacts on release
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilNarayana authored Oct 24, 2022
1 parent 663b09a commit 8d37b01
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,24 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
- name: Download latest Nintendont artifacts
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: build.yml
branch: slippi
repo: project-slippi/Nintendont
- name: Zip Release Artifact
run: |
mv release*/apps ./
mv loader*/* ./
zip -r "Slippi-Nintendont-${{ env.VERSION }}.zip" apps/
rm -rf release* loader* apps/
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./*
tag: ${{ github.ref }}
overwrite: true
file_glob: true

0 comments on commit 8d37b01

Please sign in to comment.