1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-16 16:45:16 +00:00

fix snapcraft gh action

This commit is contained in:
deadc0de6
2020-10-25 22:11:50 +01:00
parent 48d940015b
commit c365a62bc9

View File

@@ -4,7 +4,7 @@ on:
types: [created] types: [created]
jobs: jobs:
snapcraft_publish: snapcraft_publish:
runs-on: ubuntu-latest runs-on: ubuntu-16.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Build and Publish Snapcraft - name: Build and Publish Snapcraft
@@ -13,7 +13,7 @@ jobs:
SNAPCRAFT_BUILD_ENVIRONMENT: host SNAPCRAFT_BUILD_ENVIRONMENT: host
run: | run: |
sudo apt update sudo apt update
sudo apt -y install git sudo apt -y install git python3-pypandoc pandoc
sudo snap install snapcraft --classic sudo snap install snapcraft --classic
echo "$SNAP_TOKEN" | snapcraft login --with - echo "$SNAP_TOKEN" | snapcraft login --with -
cd packages/snap/ cd packages/snap/