Skip to content

Commit

Permalink
regenerate github actions to update actions/upload-artifact version
Browse files Browse the repository at this point in the history
Summary:
X-link: facebook/sapling#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
  • Loading branch information
ahornby authored and facebook-github-bot committed Sep 14, 2024
1 parent 7584bd1 commit cb0b42b
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/getdeps_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zstd
- 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 libdwarf
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libdwarf
- name: Fetch libevent
Expand All @@ -58,6 +60,10 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zlib
- name: Fetch bz2
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests bz2
- 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
Expand Down Expand Up @@ -114,6 +120,8 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py build --no-tests zstd
- 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 libdwarf
run: python3 build/fbcode_builder/getdeps.py build --no-tests libdwarf
- name: Build libevent
Expand All @@ -130,6 +138,10 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py build --no-tests zlib
- name: Build bz2
run: python3 build/fbcode_builder/getdeps.py build --no-tests bz2
- 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
Expand Down Expand Up @@ -168,7 +180,7 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py build --src-dir=. watchman --project-install-prefix watchman:/usr/local
- name: Copy artifacts
run: python3 build/fbcode_builder/getdeps.py fixup-dyn-deps --strip --src-dir=. watchman _artifacts/linux --project-install-prefix watchman:/usr/local --final-install-prefix /usr/local
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: watchman
path: _artifacts
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/getdeps_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zstd
- 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 libdwarf
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libdwarf
- name: Fetch lz4
Expand All @@ -56,6 +58,8 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests python-setuptools
- 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 zlib
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zlib
- name: Fetch autoconf
Expand Down Expand Up @@ -104,6 +108,8 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py build --no-tests zstd
- 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 libdwarf
run: python3 build/fbcode_builder/getdeps.py build --no-tests libdwarf
- name: Build lz4
Expand All @@ -118,6 +124,8 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py build --no-tests python-setuptools
- 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 zlib
run: python3 build/fbcode_builder/getdeps.py build --no-tests zlib
- name: Build autoconf
Expand Down Expand Up @@ -148,7 +156,7 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py build --src-dir=. watchman --project-install-prefix watchman:/usr/local
- name: Copy artifacts
run: python3 build/fbcode_builder/getdeps.py fixup-dyn-deps --src-dir=. watchman _artifacts/mac --project-install-prefix watchman:/usr/local --final-install-prefix /usr/local
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: watchman
path: _artifacts
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/getdeps_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:
run: python build/fbcode_builder/getdeps.py fetch --no-tests zstd
- name: Fetch double-conversion
run: python build/fbcode_builder/getdeps.py fetch --no-tests double-conversion
- name: Fetch fast_float
run: python build/fbcode_builder/getdeps.py fetch --no-tests fast_float
- name: Fetch libdwarf
run: python build/fbcode_builder/getdeps.py fetch --no-tests libdwarf
- name: Fetch lz4
Expand All @@ -71,6 +73,8 @@ jobs:
run: python build/fbcode_builder/getdeps.py fetch --no-tests libevent
- name: Fetch folly
run: python build/fbcode_builder/getdeps.py fetch --no-tests folly
- name: Fetch liboqs
run: python build/fbcode_builder/getdeps.py fetch --no-tests liboqs
- name: Fetch fizz
run: python build/fbcode_builder/getdeps.py fetch --no-tests fizz
- name: Fetch mvfst
Expand Down Expand Up @@ -107,6 +111,8 @@ jobs:
run: python build/fbcode_builder/getdeps.py build --no-tests zstd
- name: Build double-conversion
run: python build/fbcode_builder/getdeps.py build --no-tests double-conversion
- name: Build fast_float
run: python build/fbcode_builder/getdeps.py build --no-tests fast_float
- name: Build libdwarf
run: python build/fbcode_builder/getdeps.py build --no-tests libdwarf
- name: Build lz4
Expand All @@ -127,6 +133,8 @@ jobs:
run: python build/fbcode_builder/getdeps.py build --no-tests libevent
- name: Build folly
run: python build/fbcode_builder/getdeps.py build --no-tests folly
- name: Build liboqs
run: python build/fbcode_builder/getdeps.py build --no-tests liboqs
- name: Build fizz
run: python build/fbcode_builder/getdeps.py build --no-tests fizz
- name: Build mvfst
Expand All @@ -143,7 +151,7 @@ jobs:
run: python build/fbcode_builder/getdeps.py build --src-dir=. watchman
- name: Copy artifacts
run: python build/fbcode_builder/getdeps.py fixup-dyn-deps --src-dir=. watchman _artifacts/windows --final-install-prefix /usr/local
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: watchman
path: _artifacts
Expand Down

0 comments on commit cb0b42b

Please sign in to comment.