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