[llvm] workflows: Run `apt update` before `apt install` (PR #67136)
Boleyn Su via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 22 06:31:56 PDT 2023
https://github.com/BoleynSu created https://github.com/llvm/llvm-project/pull/67136
None
>From ee31f3bac3e5e4a2366d49f1d56c107e9b127369 Mon Sep 17 00:00:00 2001
From: Boleyn Su <boleyn.su at gmail.com>
Date: Fri, 22 Sep 2023 21:31:33 +0800
Subject: [PATCH] workflows: Run `apt update` before `apt install`
---
.github/workflows/release-binaries.yml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 90b801b13ed1797..380023cedda6f93 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -87,7 +87,9 @@ jobs:
- name: Install Debian build dependencies
if: matrix.target.debian-build-deps != ''
- run: sudo apt install ${{ matrix.target.debian-build-deps }}
+ run: |
+ sudo apt update
+ sudo apt install ${{ matrix.target.debian-build-deps }}
- name: Set macOS build env variables
if: runner.os == 'macOS'
@@ -107,6 +109,7 @@ jobs:
- name: Upload binaries
if: ${{ always() && needs.prepare.outputs.upload == 'true' }}
run: |
+ sudo apt update
sudo apt install python3-github
${{ needs.prepare.outputs.build-dir }}/llvm-project/llvm/utils/release/github-upload-release.py \
--token ${{ github.token }} \
More information about the llvm-commits
mailing list