ci: resolve nested template expression in artifact names (#5875)
* ci: update artifact name for Linux and Windows build * ci: enhance logic for naming convention for mac, linux and windows builds * fix: resolve nested template expression in artifact names
This commit is contained in:
parent
3a8af3c24d
commit
9a511fd5fa
@ -164,14 +164,14 @@ jobs:
|
|||||||
if: inputs.public_provider != 'github'
|
if: inputs.public_provider != 'github'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: jan-linux-amd64-${{ inputs.new_version }}-deb
|
name: ${{ inputs.channel == 'stable' && 'jan' || format('jan-{0}', inputs.channel) }}-linux-amd64-${{ inputs.new_version }}.deb
|
||||||
path: ./src-tauri/target/release/bundle/deb/*.deb
|
path: ./src-tauri/target/release/bundle/deb/*.deb
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
if: inputs.public_provider != 'github'
|
if: inputs.public_provider != 'github'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: jan-linux-amd64-${{ inputs.new_version }}-AppImage
|
name: ${{ inputs.channel == 'stable' && 'jan' || format('jan-{0}', inputs.channel) }}-linux-amd64-${{ inputs.new_version }}.AppImage
|
||||||
path: ./src-tauri/target/release/bundle/appimage/*.AppImage
|
path: ./src-tauri/target/release/bundle/appimage/*.AppImage
|
||||||
|
|
||||||
## Set output filename for linux
|
## Set output filename for linux
|
||||||
|
|||||||
@ -189,7 +189,7 @@ jobs:
|
|||||||
if: inputs.public_provider != 'github'
|
if: inputs.public_provider != 'github'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: jan-${{ inputs.channel }}-mac-universal-${{ inputs.new_version }}.dmg
|
name: ${{ inputs.channel == 'stable' && 'jan' || format('jan-{0}', inputs.channel) }}-mac-universal-${{ inputs.new_version }}.dmg
|
||||||
path: |
|
path: |
|
||||||
./src-tauri/target/universal-apple-darwin/release/bundle/dmg/*.dmg
|
./src-tauri/target/universal-apple-darwin/release/bundle/dmg/*.dmg
|
||||||
|
|
||||||
|
|||||||
@ -198,7 +198,7 @@ jobs:
|
|||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: jan-windows-${{ inputs.new_version }}
|
name: ${{ inputs.channel == 'stable' && 'jan' || format('jan-{0}', inputs.channel) }}-windows-${{ inputs.new_version }}.exe
|
||||||
path: |
|
path: |
|
||||||
./src-tauri/target/release/bundle/nsis/*.exe
|
./src-tauri/target/release/bundle/nsis/*.exe
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user