diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5132952..4ef66e9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,10 +49,10 @@ jobs: run: python toolchain.py -c --target Release - name: Building - run: python toolchain.py -b --target Release && mv ./build/release/flappy-bird ./flappy-bird + run: python toolchain.py -b --target Release - name: Zip linux artifact - run: zip -r flappybird-linux ./flappy-bird + run: zip -r flappybird-linux ./build/release - name: Upload linux artifact uses: actions/upload-artifact@v1 @@ -76,10 +76,10 @@ jobs: run: python toolchain.py -c --target Release - name: Building - run: python toolchain.py -b --target Release && mv ./build/release/flappy-bird ./flappy-bird + run: python toolchain.py -b --target Release - name: Zip macos artifact - run: zip -r flappybird-macos ./flappy-bird + run: zip -r flappybird-macos ./build/release - name: Upload macos artifact uses: actions/upload-artifact@v1 diff --git a/toolchain.py b/toolchain.py index f1f786a..9c41424 100755 --- a/toolchain.py +++ b/toolchain.py @@ -127,6 +127,7 @@ def build(target: BuildTarget): quit(-1) print_stage_title('Building') + copy_assets(target) run_command( [ CMAKE,