Skip to content

ci: Building and releasing the Windows executable within the pipeline #2

ci: Building and releasing the Windows executable within the pipeline

ci: Building and releasing the Windows executable within the pipeline #2

Workflow file for this run

name: Release Windows Build
on:
workflow_dispatch:
inputs:
release_name:
description: "Release name"
required: true
default: "latest"
push:
branches:
- exe-pipeline
jobs:
windows-release:
uses: ./.github/workflows/python-job.yml
secrets: inherit
with:
runner: windows-latest
python-version: "3.9"
release_name: test

Check failure on line 21 in .github/workflows/release_exe.yml

View workflow run for this annotation

GitHub Actions / Release Windows Build

Invalid workflow file

The workflow is not valid. .github/workflows/release_exe.yml (Line: 21, Col: 21): Invalid input, release_name is not defined in the referenced workflow.
run: |
pyinstaller --exclude demo dk-installer.py
ls -lR ./dist
gh release delete "${{ github.event.inputs.release_name }}" -y || true
gh release create "${{ github.event.inputs.release_name }}" ./dist/dk-installer/dk-installer.exe \
--title "Latest Release"