diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 59ac7f3dc..e71789d61 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -44,9 +44,6 @@ jobs: include: - build: win-x64 os: windows-latest - archive_type: zip - archive_extension: .zip - asset_content_type: application/zip - build: linux-x64 os: ubuntu-22.04 archive_type: tar @@ -105,13 +102,6 @@ jobs: shell: bash run: | git rev-parse HEAD > Publish/commit_id.txt - - name: "Archive Publish folder" - uses: thedoctor0/zip-release@master - with: - type: '${{ matrix.archive_type }}' - directory: 'Publish' - path: '.' - filename: '../ImperatorToCK3-${{ matrix.build }}${{ matrix.archive_extension }}' - name: "Install sed for Windows" if: matrix.build == 'win-x64' run: | @@ -133,8 +123,17 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: asset_paths: '["./Output/ImperatorToCK3-${{ matrix.build }}-setup.exe"]' + - name: "Archive Publish folder" + if: matrix.build != 'win-x64' + uses: thedoctor0/zip-release@master + with: + type: '${{ matrix.archive_type }}' + directory: 'Publish' + path: '.' + filename: '../ImperatorToCK3-${{ matrix.build }}${{ matrix.archive_extension }}' - name: "Upload release zip" id: upload-release-zip + if: matrix.build != 'win-x64' uses: alexellis/upload-assets@0.4.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}