build(snap): Disable arm64 snap build. (#935)
* build(snap): Disable arm64 snap build. * build(snap): Add cancel workflow * docs(issues): Close invalid issues. * build(snap): Move if to the first job
This commit is contained in:
4
.github/workflows/invalid_template.yml
vendored
4
.github/workflows/invalid_template.yml
vendored
@@ -14,6 +14,6 @@ jobs:
|
|||||||
support-label: 'invalid:template-incomplete'
|
support-label: 'invalid:template-incomplete'
|
||||||
issue-comment: >
|
issue-comment: >
|
||||||
:wave: @{issue-author}, please edit your issue and follow the template provided.
|
:wave: @{issue-author}, please edit your issue and follow the template provided.
|
||||||
close-issue: false
|
close-issue: true
|
||||||
lock-issue: false
|
lock-issue: true
|
||||||
issue-lock-reason: 'resolved'
|
issue-lock-reason: 'resolved'
|
||||||
|
|||||||
15
.github/workflows/snap.yaml
vendored
15
.github/workflows/snap.yaml
vendored
@@ -5,10 +5,19 @@ on:
|
|||||||
branches: [develop]
|
branches: [develop]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
jobs:
|
||||||
name: Lint & Test Build
|
name: Job Check
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
||||||
|
steps:
|
||||||
|
- name: Cancel Previous Runs
|
||||||
|
uses: styfle/cancel-workflow-action@0.8.0
|
||||||
|
with:
|
||||||
|
access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
test:
|
||||||
|
name: Lint & Test Build
|
||||||
|
needs: jobs
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
container: node:12.18-alpine
|
container: node:12.18-alpine
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
@@ -30,7 +39,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
architecture:
|
architecture:
|
||||||
- amd64
|
- amd64
|
||||||
- arm64
|
#- arm64 Disable until there is a workaround or fix.
|
||||||
- armhf
|
- armhf
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
|
|||||||
Reference in New Issue
Block a user