Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pieckenst authored Nov 30, 2023
1 parent 0a7b6e5 commit 8eb2bde
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,19 @@ jobs:
run: dotnet build --no-restore
- name: Publish
run: dotnet publish
- name: Upload release
uses: softprops/action-gh-release@v1
- name: Get Latest Tag
id: latest_tag
uses: WyriHaximus/github-action-get-previous-tag@v1

- name: Echo latest tag
run: echo '${{ steps.latest_tag.outputs.tag }}'

- name: Release
uses: softprops/[email protected]
# if: startsWith(github.ref, 'refs/tags/')
with:
tag_name: ${{ steps.latest_tag.outputs.tag }}
files: "MELE-launcher*"
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
tag_name: "V-*.*.*"

0 comments on commit 8eb2bde

Please sign in to comment.