From 9a4ccabfe095764f23efd6d2ea342694c733e6ba Mon Sep 17 00:00:00 2001 From: Alex Hornby Date: Sat, 14 Sep 2024 15:42:11 -0700 Subject: [PATCH] regenerate github actions to update actions/upload-artifact version Summary: X-link: https://github.com/facebook/sapling/pull/946 Fix github jobs [failing with errors](https://github.com/facebook/mvfst/actions/runs/10855890595/job/30129430199) like `Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v2`. Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/` Regenerated actions with: `./opensource/fbcode_builder/getdeps/facebook/update-all-github-actions.sh` This also shows some changes from D62399390 as actions weren't fully regenerated on that diff. Reviewed By: JakobDegen Differential Revision: D62685074 fbshipit-source-id: b6735022e7f58274b3f78f289b72ae7b2c8d9d7b --- .github/workflows/getdeps_linux.yml | 14 +++++++++++++- .github/workflows/getdeps_mac.yml | 10 +++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/.github/workflows/getdeps_linux.yml b/.github/workflows/getdeps_linux.yml index fbb7b2a88a..ed55cc4f16 100644 --- a/.github/workflows/getdeps_linux.yml +++ b/.github/workflows/getdeps_linux.yml @@ -30,6 +30,8 @@ jobs: run: python3 build/fbcode_builder/getdeps.py fetch --no-tests boost - name: Fetch double-conversion run: python3 build/fbcode_builder/getdeps.py fetch --no-tests double-conversion + - name: Fetch fast_float + run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fast_float - name: Fetch fmt run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fmt - name: Fetch gflags @@ -46,6 +48,10 @@ jobs: run: python3 build/fbcode_builder/getdeps.py fetch --no-tests lz4 - name: Fetch snappy run: python3 build/fbcode_builder/getdeps.py fetch --no-tests snappy + - name: Fetch openssl + run: python3 build/fbcode_builder/getdeps.py fetch --no-tests openssl + - name: Fetch liboqs + run: python3 build/fbcode_builder/getdeps.py fetch --no-tests liboqs - name: Fetch autoconf run: python3 build/fbcode_builder/getdeps.py fetch --no-tests autoconf - name: Fetch automake @@ -82,6 +88,8 @@ jobs: run: python3 build/fbcode_builder/getdeps.py build --no-tests boost - name: Build double-conversion run: python3 build/fbcode_builder/getdeps.py build --no-tests double-conversion + - name: Build fast_float + run: python3 build/fbcode_builder/getdeps.py build --no-tests fast_float - name: Build fmt run: python3 build/fbcode_builder/getdeps.py build --no-tests fmt - name: Build gflags @@ -98,6 +106,10 @@ jobs: run: python3 build/fbcode_builder/getdeps.py build --no-tests lz4 - name: Build snappy run: python3 build/fbcode_builder/getdeps.py build --no-tests snappy + - name: Build openssl + run: python3 build/fbcode_builder/getdeps.py build --no-tests openssl + - name: Build liboqs + run: python3 build/fbcode_builder/getdeps.py build --no-tests liboqs - name: Build autoconf run: python3 build/fbcode_builder/getdeps.py build --no-tests autoconf - name: Build automake @@ -126,7 +138,7 @@ jobs: run: python3 build/fbcode_builder/getdeps.py build --src-dir=. proxygen --project-install-prefix proxygen:/usr/local - name: Copy artifacts run: python3 build/fbcode_builder/getdeps.py fixup-dyn-deps --strip --src-dir=. proxygen _artifacts/linux --project-install-prefix proxygen:/usr/local --final-install-prefix /usr/local - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: proxygen path: _artifacts diff --git a/.github/workflows/getdeps_mac.yml b/.github/workflows/getdeps_mac.yml index d00a107b65..9e116db7ec 100644 --- a/.github/workflows/getdeps_mac.yml +++ b/.github/workflows/getdeps_mac.yml @@ -30,6 +30,8 @@ jobs: run: python3 build/fbcode_builder/getdeps.py fetch --no-tests boost - name: Fetch double-conversion run: python3 build/fbcode_builder/getdeps.py fetch --no-tests double-conversion + - name: Fetch fast_float + run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fast_float - name: Fetch fmt run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fmt - name: Fetch gflags @@ -48,6 +50,8 @@ jobs: run: python3 build/fbcode_builder/getdeps.py fetch --no-tests snappy - name: Fetch libevent run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libevent + - name: Fetch liboqs + run: python3 build/fbcode_builder/getdeps.py fetch --no-tests liboqs - name: Fetch autoconf run: python3 build/fbcode_builder/getdeps.py fetch --no-tests autoconf - name: Fetch automake @@ -80,6 +84,8 @@ jobs: run: python3 build/fbcode_builder/getdeps.py build --no-tests boost - name: Build double-conversion run: python3 build/fbcode_builder/getdeps.py build --no-tests double-conversion + - name: Build fast_float + run: python3 build/fbcode_builder/getdeps.py build --no-tests fast_float - name: Build fmt run: python3 build/fbcode_builder/getdeps.py build --no-tests fmt - name: Build gflags @@ -98,6 +104,8 @@ jobs: run: python3 build/fbcode_builder/getdeps.py build --no-tests snappy - name: Build libevent run: python3 build/fbcode_builder/getdeps.py build --no-tests libevent + - name: Build liboqs + run: python3 build/fbcode_builder/getdeps.py build --no-tests liboqs - name: Build autoconf run: python3 build/fbcode_builder/getdeps.py build --no-tests autoconf - name: Build automake @@ -122,7 +130,7 @@ jobs: run: python3 build/fbcode_builder/getdeps.py build --src-dir=. proxygen --project-install-prefix proxygen:/usr/local - name: Copy artifacts run: python3 build/fbcode_builder/getdeps.py fixup-dyn-deps --src-dir=. proxygen _artifacts/mac --project-install-prefix proxygen:/usr/local --final-install-prefix /usr/local - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: proxygen path: _artifacts