Skip to content

Commit

Permalink
Add Snapcraft to CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mhalano committed Jun 16, 2022
1 parent cd7baa5 commit b07ec17
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,22 @@ on:
jobs:
ci:
runs-on: ubuntu-latest
environment: prod
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Setup Snapcraft
uses: samuelmeuli/action-snapcraft@v1
with:
snapcraft_token: ${{ secrets.snapcraft_token }}
- id: create-snapcraft-cache-dirs
run: |
mkdir -p $HOME/.cache/snapcraft/download
mkdir -p $HOME/.cache/snapcraft/stage-packages
- id: go-cache-paths
run: |
echo "::set-output name=go-build::$(go env GOCACHE)"
Expand Down

0 comments on commit b07ec17

Please sign in to comment.