ci: resolve version in pwsh (bash shell broken on Windows host runner)
Release / build (push) Successful in 29s
Release / build (push) Successful in 29s
This commit is contained in:
@@ -28,8 +28,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Resolve version from tag
|
- name: Resolve version from tag
|
||||||
id: ver
|
id: ver
|
||||||
shell: bash
|
shell: pwsh
|
||||||
run: echo "version=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
|
run: |
|
||||||
|
$v = "$env:GITHUB_REF_NAME" -replace '^v', ''
|
||||||
|
"version=$v" | Out-File -FilePath $env:GITHUB_OUTPUT -Append -Encoding utf8
|
||||||
|
|
||||||
- name: Build executable
|
- name: Build executable
|
||||||
run: python -m PyInstaller --onefile --uac-admin --console --name dhcpsrv --icon assets/icon.ico --paths src dhcpsrv-launcher.py
|
run: python -m PyInstaller --onefile --uac-admin --console --name dhcpsrv --icon assets/icon.ico --paths src dhcpsrv-launcher.py
|
||||||
|
|||||||
Reference in New Issue
Block a user