diff --git a/.github/workflows/release-creation.yml b/.github/workflows/release-creation.yml index 68da227..0aaf353 100644 --- a/.github/workflows/release-creation.yml +++ b/.github/workflows/release-creation.yml @@ -43,16 +43,6 @@ jobs: run: | git lfs pull shell: bash - - - name: Create Zip Archive - if: ${{ steps.release.outputs.release_created }} - run: | - cd ${{github.workspace}}/mod_files - ls -a - zip -r mod_files.zip Mods - cd ../ - mv ./mod_files/mod_files.zip ./publish/mod_files.zip - shell: bash - name: Publish Windows Build if: ${{ steps.release.outputs.release_created }} @@ -72,6 +62,16 @@ jobs: dotnet publish ${{github.workspace}}/RTWLib_CLI/RTWLib_CLI.csproj -c Release -r linux-x64 --self-contained true -o ./publish/linux-x64 mv ./publish/linux-x64/RTW-CLI-Randomiser ./publish/linux-x64/RTW-CLI-Randomiser-linux + - name: Create Zip Archive + if: ${{ steps.release.outputs.release_created }} + run: | + cd ${{github.workspace}}/mod_files + ls -a + zip -r mod_files.zip Mods + cd ../ + mv ./mod_files/mod_files.zip ./publish/mod_files.zip + shell: bash + - name: Upload Release Artifact if: ${{ steps.release.outputs.release_created }} env: @@ -81,4 +81,3 @@ jobs: gh release upload ${{ steps.release.outputs.tag_name }} ${{github.workspace}}/publish/osx-x64/* --clobber gh release upload ${{ steps.release.outputs.tag_name }} ${{github.workspace}}/publish/linux-x64/* --clobber gh release upload ${{ steps.release.outputs.tag_name }} ${{github.workspace}}/publish/mod_files.zip --clobber -