Skip to content

Commit ee31f3b

Browse files
authored
workflows: Run apt update before apt install
1 parent 04f9a8a commit ee31f3b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release-binaries.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ jobs:
8787

8888
- name: Install Debian build dependencies
8989
if: matrix.target.debian-build-deps != ''
90-
run: sudo apt install ${{ matrix.target.debian-build-deps }}
90+
run: |
91+
sudo apt update
92+
sudo apt install ${{ matrix.target.debian-build-deps }}
9193
9294
- name: Set macOS build env variables
9395
if: runner.os == 'macOS'
@@ -107,6 +109,7 @@ jobs:
107109
- name: Upload binaries
108110
if: ${{ always() && needs.prepare.outputs.upload == 'true' }}
109111
run: |
112+
sudo apt update
110113
sudo apt install python3-github
111114
${{ needs.prepare.outputs.build-dir }}/llvm-project/llvm/utils/release/github-upload-release.py \
112115
--token ${{ github.token }} \

0 commit comments

Comments
 (0)