Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
facontidavide committed Dec 14, 2023
1 parent d05ac22 commit 91ea202
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/snap_core20.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
workflow_dispatch:

jobs:
build20:
build:
runs-on: ubuntu-latest
outputs:
snap-file: ${{ steps.build-snap20.outputs.snap }}
Expand All @@ -33,7 +33,7 @@ jobs:
name: plotjuggler-snap20
path: ${{ steps.build-snap20.outputs.snap }}

publish20:
publish:
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
needs: build
Expand All @@ -46,5 +46,5 @@ jobs:
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
with:
snap: ${{needs.build20.outputs.snap-file}}
snap: ${{needs.build.outputs.snap-file}}
release: ${{ startsWith(github.ref, 'refs/tags/') && 'candidate' || 'edge'}}
8 changes: 4 additions & 4 deletions .github/workflows/snap_core22.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
workflow_dispatch:

jobs:
build22:
build:
runs-on: ubuntu-latest
outputs:
snap-file: ${{ steps.build-snap22.outputs.snap }}
Expand All @@ -33,10 +33,10 @@ jobs:
name: plotjuggler-snap22
path: ${{ steps.build-snap22.outputs.snap }}

publish22:
publish:
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
needs: build22
needs: build
steps:
- uses: actions/download-artifact@v3
with:
Expand All @@ -46,5 +46,5 @@ jobs:
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
with:
snap: ${{needs.build22.outputs.snap-file}}
snap: ${{needs.build.outputs.snap-file}}
release: humble/${{ startsWith(github.ref, 'refs/tags/') && 'candidate' || 'edge'}}

0 comments on commit 91ea202

Please sign in to comment.