Skip to content

Commit

Permalink
version
Browse files Browse the repository at this point in the history
  • Loading branch information
cmendible committed Jun 27, 2023
1 parent 532b73c commit 4b0fa42
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,21 @@ jobs:
asset_name: ${{ env.AZQR_ARTIFACT_NAME }}.exe.sha256
asset_content_type: application/octet-stream

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x

- name: Setup MinVer
run: |
dotnet tool install --global minver-cli --version 4.2.0
- name: Calculate Version
run: |
echo "MINVERVERSIONOVERRIDE=$($HOME/.dotnet/tools/minver -t v. -m 0.1 -d preview)" >> $GITHUB_ENV
- name: Trigger Bump Winget
uses: peter-evans/repository-dispatch@v2
with:
event-type: bump-winget
client-payload: '{"version": "${{ github.ref }}"}'
client-payload: '{"version": "${{ env.MINVERVERSIONOVERRIDE }}"}'

0 comments on commit 4b0fa42

Please sign in to comment.