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
name: Build executable for release | |
on: | |
release: | |
types: | |
- published | |
permissions: | |
id-token: write | |
attestations: write | |
contents: write | |
jobs: | |
build: | |
name: Build the Inno Setup Installer | |
runs-on: windows-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: 📥 Clone repository | |
uses: actions/[email protected] | |
- name: ⚙️ Compile .ISS to .EXE Installer | |
uses: Minionguyjpro/[email protected] | |
with: | |
path: 'platform-tools-installer.iss' | |
- name: ✅ Attest artifacts | |
uses: actions/[email protected] | |
# See https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds | |
with: | |
subject-path: Output/platform-tools-installer.exe | |
- name: ⬆️ Upload files to release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: 'Output/platform-tools-installer.exe' |