Skip to content

Release

Release #1

Workflow file for this run

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