Release #1
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: Release | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: 'Release Version e.g.: 1.0' | |
required: true | |
jobs: | |
release: | |
environment: deploy | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Compiler | |
run: | | |
curl -L ${{ secrets.DELPHI_COMPILER_URL }} -o dcc32.zip | |
unzip dcc32.zip | |
- name: Compile | |
run: | | |
cd dcc32 | |
.\dcc32.exe -W- -H- ..\FADeepProbe.dpr | |
- name: Create Pre Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
TAG: v${{ github.event.inputs.version }} | |
shell: bash | |
run: gh release create "$TAG" -p --generate-notes FADeepProbe.exe |