Skip to content

fix: Movig to snapcraft v2 actions and provinding the new token follo… #283

fix: Movig to snapcraft v2 actions and provinding the new token follo…

fix: Movig to snapcraft v2 actions and provinding the new token follo… #283

Workflow file for this run

name: Snap Build
on: push
defaults:
run:
shell: bash
jobs:
snap:
runs-on: ubuntu-latest
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
steps:
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v2
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 14
- name: Build
run: yarn --link-duplicates --pure-lockfile
- name: Release
if: contains(github.ref, 'develop')
run: yarn dist:linux:snap --publish always
snap-armv7l:
runs-on: ubuntu-latest
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
steps:
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v2
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 14
- name: Build
run: yarn --link-duplicates --pure-lockfile
- name: Release
if: contains(github.ref, 'develop')
run: yarn dist:linux:snap:armv7l --publish always