switches snap installation method (#655)

This commit is contained in:
Joseph Flinn 2021-01-22 10:40:38 -08:00 committed by GitHub
parent 03343bfd91
commit 2220c00702
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 6 deletions

View File

@ -68,12 +68,10 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get -y install pkg-config libxss-dev libsecret-1-dev rpm sudo apt-get -y install pkg-config libxss-dev libsecret-1-dev rpm
- name: Set up snap - name: Install Snap
run: | uses: samuelmeuli/action-snapcraft@v1
sudo snap install snapcraft --classic with:
echo "$SNAP_TOKEN" | snapcraft login --with - snapcraft_token: ${{ secrets.SNAP_TOKEN }}
env:
SNAP_TOKEN: ${{ secrets.SNAP_TOKEN }}
- name: Print environment - name: Print environment
run: | run: |