mirror of
https://github.com/Runnin4ik/dpi-detector.git
synced 2026-08-31 01:46:43 +00:00
Fix manual runs: resolve version in codesign and upload tag
This commit is contained in:
parent
3040540640
commit
fc9cc482e8
1 changed files with 3 additions and 1 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -60,6 +60,7 @@ jobs:
|
|||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: dist/*.exe
|
||||
tag: ${{ github.event.release.tag_name || inputs.version }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
|
@ -105,12 +106,13 @@ jobs:
|
|||
dpi_detector.py
|
||||
|
||||
- name: Ad-hoc codesign
|
||||
run: codesign --force -s - "dist/dpi_detector_${{ github.event.release.tag_name }}_${{ matrix.suffix }}"
|
||||
run: codesign --force -s - "dist/dpi_detector_${{ inputs.version || github.event.release.tag_name }}_${{ matrix.suffix }}"
|
||||
|
||||
- name: Upload binary to Release Assets
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: dist/dpi_detector_*
|
||||
tag: ${{ github.event.release.tag_name || inputs.version }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
build-docker:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue