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 }}