build(workflows): Update workflows to use ubuntu-20.04 (#684)

Added discord notifications to all build jobs
This commit is contained in:
samwiseg0
2021-01-18 20:17:24 -05:00
committed by GitHub
parent 3b4892bcd7
commit f2b9125acd
5 changed files with 64 additions and 15 deletions

View File

@@ -8,8 +8,9 @@ on:
jobs:
test:
name: Lint & Build Test
runs-on: ubuntu-latest
name: Lint & Test Build
runs-on: ubuntu-20.04
if: "!contains(github.event.head_commit.message, '[skip ci]')"
container: node:12.18-alpine
steps:
- name: checkout
@@ -25,8 +26,7 @@ jobs:
build-snap:
name: Build Snap Package (${{ matrix.architecture }})
needs: test
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -76,10 +76,9 @@ jobs:
release: ${{ steps.prepare.outputs.RELEASE }}
discord:
name: Discord Notification
name: Send Discord Notification
needs: build-snap
if: always() && github.event_name != 'pull_request'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Get Build Job Status
uses: technote-space/workflow-conclusion-action@v1