Skip to content

Commit

Permalink
Update midi2mqtt-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bzeiss authored Jan 5, 2025
1 parent 0f5a7c4 commit 625059a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/midi2mqtt-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,12 @@ jobs:
name: "Development Build Windows"
tag_name: prerelease-windows
token: ${{ secrets.GITHUB_TOKEN }}

- name: Add Git to PATH
shell: powershell
run: |
$env:PATH = "$HOME\AppData\Local\Programs\Git\cmd;$env:PATH"
git --version # Verify Git is accessible

- name: Clean up old prerelease
if: success()
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PATH: ${{ env.USERPROFILE }}\AppData\Local\Programs\Git\cmd;${{ runner.temp }}\msys64\mingw64\bin;${{ env.PATH }}
run: |
git tag -f prerelease-windows
git push origin prerelease-windows --force
Expand Down

0 comments on commit 625059a

Please sign in to comment.