mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-14 16:01:08 +00:00
trivial: snap: ci: pass file name of snap between jobs
This commit is contained in:
parent
1963f7db4e
commit
0230e03562
6
.github/workflows/snap.yml
vendored
6
.github/workflows/snap.yml
vendored
@ -12,6 +12,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-snap:
|
build-snap:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
snap_name: ${{ steps.snapcraft.outputs.snap }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -32,11 +34,9 @@ jobs:
|
|||||||
id: download
|
id: download
|
||||||
with:
|
with:
|
||||||
name: snap
|
name: snap
|
||||||
- name: Display structure of downloaded files
|
|
||||||
run: ls -R
|
|
||||||
- uses: snapcore/action-publish@v1
|
- uses: snapcore/action-publish@v1
|
||||||
env:
|
env:
|
||||||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
|
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
|
||||||
with:
|
with:
|
||||||
snap: ${{steps.download.outputs.download-path}}/*.snap
|
snap: ${{ needs.build-snap.outputs.snap_name }}
|
||||||
release: ${{ inputs.channel }}
|
release: ${{ inputs.channel }}
|
||||||
|
Loading…
Reference in New Issue
Block a user