Fix artifact name to match version without v

This commit is contained in:
kdusek
2025-12-07 23:49:49 +01:00
parent 3d51013e48
commit 5f2dc5a9fb

View File

@@ -65,8 +65,8 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: gotify-tray_${{github.ref_name}}_amd64.deb
path: dist/gotify-tray_${{github.ref_name}}_amd64.deb
name: gotify-tray_${{github.ref_name#v}}_amd64.deb
path: dist/gotify-tray_${{github.ref_name#v}}_amd64.deb
release:
runs-on: ubuntu-latest
@@ -75,11 +75,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v2
with:
name: gotify-tray_${{github.ref_name}}_amd64.deb
name: gotify-tray_${{github.ref_name#v}}_amd64.deb
- name: Release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITEA_TOKEN }}"
prerelease: false
files: |
gotify-tray_${{github.ref_name}}_amd64.deb
gotify-tray_${{github.ref_name#v}}_amd64.deb