Merge pull request #931 from jijojosephk/issue-918 #279
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Snap Build | |
on: push | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
snap: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Snapcraft | |
uses: samuelmeuli/action-snapcraft@v1 | |
with: | |
snapcraft_token: ${{ secrets.snapcraft_token }} | |
- 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 | |
steps: | |
- name: Install Snapcraft | |
uses: samuelmeuli/action-snapcraft@v1 | |
with: | |
snapcraft_token: ${{ secrets.snapcraft_token }} | |
- 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 |