From 3c61a337d67b3981c6841d7d2bb238ea5fa4d46c Mon Sep 17 00:00:00 2001 From: tsuza Date: Wed, 6 Nov 2024 22:05:48 +0100 Subject: [PATCH] fix --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 276e9b5..28e9752 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} @@ -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 }}