Skip to content

Commit

Permalink
Try to update po and README in container
Browse files Browse the repository at this point in the history
We need to run on latest release for matching ZFS (building the command while
updating README)
  • Loading branch information
didrocks committed Feb 15, 2021
1 parent 4e36dcc commit 3870324
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/auto-updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ jobs:
update-po:
name: Update po files
runs-on: ubuntu-latest
container: ubuntu:devel
steps:
- name: Install required dependencies
run: |
apt update
apt install -y gettext git
# Checkout code
- uses: actions/checkout@v2
with:
Expand All @@ -20,8 +25,6 @@ jobs:
- uses: actions/setup-go@v1
with:
go-version: '1.14.x'
- name: Install required dependencies
run: sudo apt install -y gettext
# Update po if needed
- name: Check po files
id: checkpo
Expand Down Expand Up @@ -54,7 +57,13 @@ jobs:
# This should just be "after", but we don't want the 2 jobs to push at the same time
needs: update-po
runs-on: ubuntu-latest
container: ubuntu:devel
steps:
# Add dependencies
- name: Install dependencies
run: |
apt update
DEBIAN_FRONTEND=noninteractive apt -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install libzfslinux-dev git
# Checkout code
- uses: actions/checkout@v2
with:
Expand All @@ -63,12 +72,6 @@ jobs:
- uses: actions/setup-go@v1
with:
go-version: '1.14.x'
# Add dependencies
- name: Install dependencies
run: |
sudo sed -i s/bionic/hirsute/g /etc/apt/sources.list
sudo apt update
sudo DEBIAN_FRONTEND=noninteractive apt -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install libzfslinux-dev
# Try updating README
- name: Check README file
id: checkreadme
Expand Down

0 comments on commit 3870324

Please sign in to comment.