use ref_name when uploading artifacts

This commit is contained in:
eyedeekay
2025-01-07 21:59:40 -05:00
parent 9e6dd8a094
commit 5349d0b8bb

View File

@ -76,7 +76,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: i2pbrowser_amd64.deb
path: ./i2pbrowser_1.0.0_amd64.deb
path: ./i2pbrowser_${{ github.ref_name }}_amd64.deb
- name: build plugin with Ant
run: |
export PATH=$PATH:$(go env GOPATH)/bin
@ -133,7 +133,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: i2pbrowser.x86_64.rpm
path: ./i2pbrowser-1.0.0-1.x86_64.rpm
path: ./i2pbrowser-${{ github.ref_name }}-1.x86_64.rpm
buildwin:
@ -171,8 +171,8 @@ jobs:
- name: Upload Firefox Profile EXE Installer
uses: actions/upload-artifact@v4
with:
name: i2pbrowser-1.0.0.exe
path: ./i2pbrowser-1.0.0.exe
name: i2pbrowser-${{ github.ref_name }}.exe
path: ./i2pbrowser-${{ github.ref_name }}.exe
- name: build msi with Ant
run: |
ant windows-msi
@ -180,8 +180,8 @@ jobs:
- name: Upload Firefox Profile MSI Installer
uses: actions/upload-artifact@v4
with:
name: i2pbrowser-1.0.0.msi
path: ./i2pbrowser-1.0.0.msi
name: i2pbrowser-${{ github.ref_name }}.msi
path: ./i2pbrowser-${{ github.ref_name }}.msi
- name: build portable zip with Ant
run: |
ant windows-portable
@ -227,8 +227,8 @@ jobs:
- name: Upload Firefox Profile DMG Installer
uses: actions/upload-artifact@v4
with:
name: i2pbrowser-1.0.0.dmg
path: ./i2pbrowser-1.0.0.dmg
name: i2pbrowser-${{ github.ref_name }}.dmg
path: ./i2pbrowser-${{ github.ref_name }}.dmg
- name: build pkg with Ant
run: |
ant macos-pkg
@ -236,5 +236,5 @@ jobs:
- name: Upload Firefox Profile PKG Installer
uses: actions/upload-artifact@v4
with:
name: i2pbrowser-1.0.0.pkg
path: ./i2pbrowser-1.0.0.pkg
name: i2pbrowser-${{ github.ref_name }}.pkg
path: ./i2pbrowser-${{ github.ref_name }}.pkg