mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Update Publish Snap workflow
This commit is contained in:
parent
393f4e0e58
commit
b74ca2670e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/publish-snap.yml
vendored
4
.github/workflows/publish-snap.yml
vendored
|
@ -40,8 +40,8 @@ jobs:
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
|
|
||||||
- name: Build Snap Package
|
- name: Build Snap Package
|
||||||
id: build
|
|
||||||
uses: diddlesnaps/snapcraft-multiarch-action@v1
|
uses: diddlesnaps/snapcraft-multiarch-action@v1
|
||||||
|
id: build
|
||||||
with:
|
with:
|
||||||
architecture: ${{ matrix.architecture }}
|
architecture: ${{ matrix.architecture }}
|
||||||
|
|
||||||
|
@ -57,10 +57,10 @@ jobs:
|
||||||
snap: ${{ steps.build.outputs.snap }}
|
snap: ${{ steps.build.outputs.snap }}
|
||||||
|
|
||||||
- name: Publish Snap Package
|
- name: Publish Snap Package
|
||||||
|
uses: snapcore/action-publish@v1
|
||||||
if: >
|
if: >
|
||||||
github.event_name != 'pull_request' &&
|
github.event_name != 'pull_request' &&
|
||||||
(startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/nightly')
|
(startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/nightly')
|
||||||
uses: snapcore/action-publish@v1
|
|
||||||
with:
|
with:
|
||||||
store_login: ${{ secrets.SNAP_LOGIN }}
|
store_login: ${{ secrets.SNAP_LOGIN }}
|
||||||
snap: ${{ steps.build.outputs.snap }}
|
snap: ${{ steps.build.outputs.snap }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue