Skip to content

Commit edec103

Browse files
JasonGrace2282alanzhu0
authored andcommitted
fix(ci): update mirrors before installing
1 parent fb2d797 commit edec103

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@
226226
},
227227
{
228228
"name": "install Kerberos",
229-
"run": "sudo apt install -y krb5-user"
229+
"run": "sudo apt update\nsudo apt install -y krb5-user\n"
230230
},
231231
{
232232
"name": "Run tests (Fork)",

ci/spec.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,14 @@ jobs:
192192
echo "PGPASSFILE=$PGPASSFILE" >> $GITHUB_ENV
193193
echo 127.0.0.1:5432:postgres:postgres:postgres >$PGPASSFILE
194194
chmod 600 $PGPASSFILE
195+
195196
- name: Create database
196197
run: psql -U postgres -h 127.0.0.1 -c 'create database ion'
197198

198199
- name: install Kerberos
199-
run: sudo apt install -y krb5-user
200+
run: |
201+
sudo apt update
202+
sudo apt install -y krb5-user
200203
201204
# Tests
202205
- name: Run tests (Fork)

0 commit comments

Comments
 (0)