Skip to content

Commit

Permalink
Add gitaction snapcraft
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Aug 1, 2020
1 parent ab43e06 commit cafffb9
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions .github/workflows/snap.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1
with:
snapcraft_token: ${{ secrets.snapcraft_token }}
skip_install: true # optional, if already installed in an earlier step
name: Push snapcraft

on: push

jobs:
my-job:
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v2

- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1

# You can now run Snapcraft shell commands
- name: Use Snapcraft
run: snapcraft --help

- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1
with:
snapcraft_token: ${{ secrets.snapcraft_token }}
skip_install: true # optional, if already installed in an earlier step

0 comments on commit cafffb9

Please sign in to comment.