mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-06-11 19:04:49 +03:00
Compare commits
2 Commits
main
...
rename-pre
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a716e195ed | ||
|
|
151792db31 |
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -174,13 +174,15 @@ jobs:
|
||||
steps:
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
- name: Get short SHA
|
||||
run: echo "short_sha=${GITHUB_SHA::7}" >> "$GITHUB_OUTPUT"
|
||||
- name: Create Pre-Release
|
||||
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag_name: ${{ github.event.inputs.name || github.ref_name }}
|
||||
name: ${{ github.event.inputs.name || github.ref_name }}
|
||||
tag_name: ${{ format('{0}-{1}', github.event.inputs.name || github.ref_name, steps.vars.outputs.short_sha) }}
|
||||
name: ${{ format('{0}-{1}', github.event.inputs.name || github.ref_name, steps.vars.outputs.short_sha) }}
|
||||
prerelease: true
|
||||
generate_release_notes: true
|
||||
files: |
|
||||
|
||||
Reference in New Issue
Block a user