diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 75660d9..f1c45dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ on: jobs: build: outputs: - version: ${{ steps.vsix_version.outputs.version-number }} + version: ${{ steps.vsix_version_15.outputs.version-number }} name: Build runs-on: windows-latest env: @@ -63,7 +63,7 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v2 with: - name: TcUnit_${{ outputs.version }}.exe + name: TcUnit_${{ steps.vsix_version_15.outputs.version-number }}.exe path: dist/*.exe publish: @@ -77,15 +77,15 @@ jobs: - name: Download Package artifact uses: actions/download-artifact@v2 with: - name: TcUnit_${{ outputs.version }}.exe + name: TcUnit_${{ needs.build.outputs.version }}.exe - name: Tag and Release if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[release]') }} id: tag_release uses: softprops/action-gh-release@v0.1.13 with: - body: Release ${{ outputs.version }} - tag_name: ${{ outputs.version }} + body: Release ${{ needs.build.outputs.version }} + tag_name: ${{ needs.build.outputs.version }} files: | **/*.exe