Fine-tune release script #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# based on https://janjones.me/posts/clickonce-installer-build-publish-github/ | |
name: Release | |
on: | |
push: | |
tags: [WindowsEnvLoader-v*] | |
jobs: | |
release: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Git | |
run: | | |
git config --global url."https://user:${{ secrets.GITHUB_TOKEN }}@github".insteadOf https://github | |
git config --global user.name github-actions | |
git config --global user.email [email protected] | |
- name: Build and publish via Github Pages | |
shell: pwsh | |
run: ./WindowsEnvLoader/release.ps1 | |
- name: Add Setup.exe to Release Assets | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: WindowsEnvLoader/bin/publish/setup.exe | |