Skip to content

Release

Release #3

Workflow file for this run

# 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