Skip to content

Commit

Permalink
Revert "snap: try building&releasing from 20.04 instead of 18.04"
Browse files Browse the repository at this point in the history
This reverts commit de59e12,
because it seems there are no GHactions runners with 20.04 yet:

https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners

So it seems we need to keep monitoring this:
actions/runner-images#228
  • Loading branch information
knocte committed May 22, 2020
1 parent de59e12 commit 2ce094f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: ubuntu

on: [push]
on:
push:
tags:
- '*'

jobs:
ubuntu-snap-build:
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Generate snap package
Expand All @@ -21,7 +24,7 @@ jobs:

ubuntu-snap-upload:
needs: ubuntu-snap-build
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Download artifact from previous job
Expand Down
2 changes: 1 addition & 1 deletion scripts/snap_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ fi

snapcraft login --with snapcraft.login

snapcraft push snap/*.snap --release=beta
snapcraft push snap/*.snap --release=stable

0 comments on commit 2ce094f

Please sign in to comment.