Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuza committed Nov 6, 2024
1 parent e4c95bd commit 3c61a33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@ jobs:
echo "ARTIFACT_NAME=$(ls ./linux/${{ matrix.target.artifact_name }} | head -n 1)" >> "$GITHUB_ENV"
- name: Set artifact name for windows
if: matrix.target.artifact == 'windows'
if: matrix.target.os == 'windows'
run: |
echo "ARTIFACT_NAME=mannager-installer.msi" >> "$GITHUB_ENV"
- name: Upload asset
if: matrix.target.artifact == 'linux'
if: matrix.target.os == 'linux'
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ needs.create-release.outputs.upload_url }}
Expand All @@ -171,7 +171,7 @@ jobs:
asset_content_type: ${{ matrix.target.asset_type }}

- name: Upload asset
if: matrix.target.artifact == 'windows'
if: matrix.target.os == 'windows'
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ needs.create-release.outputs.upload_url }}
Expand Down

0 comments on commit 3c61a33

Please sign in to comment.