From 4bf515200ae6e2abeae219ecd304c99707af7954 Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Thu, 14 Jan 2021 21:46:14 +0000 Subject: [PATCH] switching ubuntu back and removing line continuation --- .github/workflows/build.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3a89f63397..c980f0066b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: