From 34a492443ceacce8c8384880c2e831a28870a1ea Mon Sep 17 00:00:00 2001 From: GBA bot Date: Sat, 1 Jan 2022 20:23:18 +0000 Subject: [PATCH] Push the zip files to the release on github --- .github/workflows/publish-agb.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-agb.yml b/.github/workflows/publish-agb.yml index 5decd51f..fe64e7b3 100644 --- a/.github/workflows/publish-agb.yml +++ b/.github/workflows/publish-agb.yml @@ -27,4 +27,12 @@ jobs: run: bash .github/scripts/update-template-repo.sh - name: Build the examples - run: bash .github/scripts/build-example-gba-files.sh \ No newline at end of file + run: bash .github/scripts/build-example-gba-files.sh + - name: Upload examples to the release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: examples/target/examples.zip + asset_name: examples.zip + tag: ${{ github.ref }} + overwrite: true