Skip to content

Commit

Permalink
ci: update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
philippleidig authored and philippleidig committed Jan 4, 2024
1 parent 4c4f541 commit 7264bb4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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/[email protected]
with:
body: Release ${{ outputs.version }}
tag_name: ${{ outputs.version }}
body: Release ${{ needs.build.outputs.version }}
tag_name: ${{ needs.build.outputs.version }}
files: |
**/*.exe

0 comments on commit 7264bb4

Please sign in to comment.