From 6a4668040bdde73785f986efff7ebe24945d97ca Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sat, 18 Dec 2021 01:35:10 +0100 Subject: [PATCH] fix: use ubuntu-18.04 (#947) --- .github/workflows/linux.yml | 10 +++++----- stores/snapcraft/{check_deploy.sh => check_version.sh} | 0 stores/snapcraft/{deploy.sh => release.sh} | 0 3 files changed, 5 insertions(+), 5 deletions(-) rename stores/snapcraft/{check_deploy.sh => check_version.sh} (100%) rename stores/snapcraft/{deploy.sh => release.sh} (100%) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 1fa32d2..8beddb1 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -10,7 +10,7 @@ on: jobs: release: - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 container: image: ${{ matrix.image }} env: @@ -106,8 +106,8 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Check deploy - run: ./stores/snapcraft/check_deploy.sh + - name: Check version + run: ./stores/snapcraft/check_version.sh - name: Install Snapcraft with LXD uses: samuelmeuli/action-snapcraft@v1 @@ -119,8 +119,8 @@ jobs: run: ./stores/snapcraft/build.sh if: env.SHOULD_DEPLOY == 'yes' - - name: Publish snap - run: ./stores/snapcraft/deploy.sh + - name: Release snap + run: ./stores/snapcraft/release.sh env: SNAP_STORE_LOGIN: ${{ secrets.SNAP_STORE_LOGIN }} if: env.SHOULD_DEPLOY == 'yes' diff --git a/stores/snapcraft/check_deploy.sh b/stores/snapcraft/check_version.sh similarity index 100% rename from stores/snapcraft/check_deploy.sh rename to stores/snapcraft/check_version.sh diff --git a/stores/snapcraft/deploy.sh b/stores/snapcraft/release.sh similarity index 100% rename from stores/snapcraft/deploy.sh rename to stores/snapcraft/release.sh