Skip to content

Commit

Permalink
Merge pull request #3492 from csordasmarton/gh_action_for_snap_package
Browse files Browse the repository at this point in the history
[action] Add github action to publish snap package
  • Loading branch information
bruntib authored Nov 12, 2021
2 parents d5d334f + 34d9ebd commit 8468d8b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/snap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: codechecker-snap-package

# Triggers the workflow when a new release is published.
on:
release:
types: [published]

jobs:
build:
name: Build snap package
runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v2
- uses: snapcore/action-build@v1
id: build
- uses: snapcore/action-publish@v1
with:
store_login: ${{ secrets.SNAP_TOKEN }}
snap: ${{ steps.build.outputs.snap }}
release: edge

0 comments on commit 8468d8b

Please sign in to comment.