diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b7e55fa..14183d2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,9 +21,6 @@ jobs: uses: dawidd6/action-get-tag@v1 - name: Checkout repository uses: actions/checkout@v2 - - name: Remove build script - run: | - rm build.rs - name: Install rust toolchain for Apple Silicon uses: actions-rs/toolchain@v1 with: @@ -49,7 +46,6 @@ jobs: run: | mkdir -p build/macos/src/Game.app/Contents/MacOS/assets cp -r assets/ build/macos/src/Game.app/Contents/MacOS/assets - cp -r credits/ build/macos/src/Game.app/Contents/MacOS/credits cp target/release/${{ env.GAME_EXECUTABLE_NAME }} build/macos/src/Game.app/Contents/MacOS/ strip build/macos/src/Game.app/Contents/MacOS/${{ env.GAME_EXECUTABLE_NAME }} mv build/macos/src/Game.app build/macos/src/${{ env.GAME_OSX_APP_NAME }}.app @@ -90,7 +86,7 @@ jobs: mv target/release/${{ env.GAME_EXECUTABLE_NAME }} . - name: Bundle release run: | - tar -czf ${{ env.GAME_EXECUTABLE_NAME }}_linux.tar.gz ${{ env.GAME_EXECUTABLE_NAME }} assets credits + tar -czf ${{ env.GAME_EXECUTABLE_NAME }}_linux.tar.gz ${{ env.GAME_EXECUTABLE_NAME }} assets - name: Upload release uses: svenstaro/upload-release-action@v2 with: @@ -120,11 +116,10 @@ jobs: - name: Prepare release run: | mkdir target/release/assets && cp -r assets target/release/assets - mkdir target/release/credits && cp -r credits target/release/credits - name: Zip release uses: vimtor/action-zip@v1 with: - files: target/release/assets/ target/release/credits/ target/release/${{ env.GAME_EXECUTABLE_NAME }}.exe + files: target/release/assets/ target/release/${{ env.GAME_EXECUTABLE_NAME }}.exe dest: ${{ env.GAME_EXECUTABLE_NAME }}_windows.zip - name: Upload release uses: svenstaro/upload-release-action@v2