1
0
Fork 1
forked from fedi/mastodon

Fix stale apt index in github actions (#24319)

This commit is contained in:
Claire 2023-03-30 14:19:33 +02:00 committed by GitHub
parent 67450cf002
commit e7c3e55874
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 4 deletions

View file

@ -30,7 +30,9 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install native Ruby dependencies - name: Install native Ruby dependencies
run: sudo apt-get install -y libicu-dev libidn11-dev run: |
sudo apt-get update
sudo apt-get install -y libicu-dev libidn11-dev
- name: Set up Ruby - name: Set up Ruby
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1

View file

@ -64,7 +64,9 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install native Ruby dependencies - name: Install native Ruby dependencies
run: sudo apt-get install -y libicu-dev libidn11-dev run: |
sudo apt-get update
sudo apt-get install -y libicu-dev libidn11-dev
- name: Set up bundler cache - name: Set up bundler cache
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1

View file

@ -63,7 +63,9 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install native Ruby dependencies - name: Install native Ruby dependencies
run: sudo apt-get install -y libicu-dev libidn11-dev run: |
sudo apt-get update
sudo apt-get install -y libicu-dev libidn11-dev
- name: Set up bundler cache - name: Set up bundler cache
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1

View file

@ -32,7 +32,9 @@ jobs:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
- name: Install native Ruby dependencies - name: Install native Ruby dependencies
run: sudo apt-get install -y libicu-dev libidn11-dev run: |
sudo apt-get update
sudo apt-get install -y libicu-dev libidn11-dev
- name: Set up bundler cache - name: Set up bundler cache
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1
@ -119,6 +121,9 @@ jobs:
path: './public' path: './public'
name: ${{ github.sha }} name: ${{ github.sha }}
- name: Update package index
run: sudo apt-get update
- name: Install native Ruby dependencies - name: Install native Ruby dependencies
run: sudo apt-get install -y libicu-dev libidn11-dev run: sudo apt-get install -y libicu-dev libidn11-dev