switching ubuntu back and removing line continuation

This commit is contained in:
Joseph Flinn 2021-01-14 21:46:14 +00:00
parent 9d3a573e00
commit 4bf515200a
1 changed files with 5 additions and 6 deletions

View File

@ -10,7 +10,7 @@ on:
jobs:
cloc:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
@ -227,7 +227,7 @@ jobs:
# This process seems independent from the others
build_snap:
name: Build Snap
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
@ -261,8 +261,7 @@ jobs:
cd ./dist/snap
snapcraft
sha256sum bw_${{ env.PACKAGE_VERSION }}_amd64.snap | \
awk '{split($0, a); print a[1]}' > bw-snap-sha256-${{ env.PACKAGE_VERSION }}.txt
sha256sum bw_${{ env.PACKAGE_VERSION }}_amd64.snap | awk '{split($0, a); print a[1]}' > bw-snap-sha256-${{ env.PACKAGE_VERSION }}.txt
- name: Install Snap
run: sudo snap install ./dist/snap/bw*.snap --dangerous
@ -295,7 +294,7 @@ jobs:
publish_snap:
name: Publish Snap
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
needs: build_snap
if: github.event_name == 'release'
steps:
@ -341,7 +340,7 @@ jobs:
# Could be moved out a level
publish_npm:
name: Publish NPM
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'release'
steps: