Skip to content

Release workflow: don't upload the release zip for Windows #1990

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand All @@ -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 }}
Expand Down
Loading