Skip to content

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

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

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

Workflow file for this run

name: Build & Release
env:
GH_TOKEN: ${{ SECRETS.GITHUB_TOKEN }}
on: push
defaults:
run:
shell: bash
jobs:
linux_x64:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 16
- name: Build
run: yarn --link-duplicates --pure-lockfile
- name: Release
if: contains(github.ref, 'develop')
run: yarn dist:linux:x64 -- --publish always
linux_arm64:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 16
- name: Build
run: yarn --link-duplicates --pure-lockfile
- name: Release
if: contains(github.ref, 'develop')
run: yarn dist:linux:arm64 -- --publish always
linux_arm:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 16
- name: Build
run: yarn --link-duplicates --pure-lockfile
- name: Release
if: contains(github.ref, 'develop')
run: yarn dist:linux:arm -- --publish always
dmg:
runs-on: macos-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 16
- name: Build
run: yarn --link-duplicates --pure-lockfile
- name: Release
if: contains(github.ref, 'develop')
run: yarn dist:mac -- --publish always
exe:
runs-on: windows-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 16
- name: Build
run: yarn --link-duplicates --pure-lockfile
- name: Release
if: contains(github.ref, 'develop')
run: yarn dist:windows -- --publish always