Skip to content

Commit

Permalink
[ci] Add process_artifacts_combined job
Browse files Browse the repository at this point in the history
ghstack-source-id: e13b8d1f575e2d5f176bd4976e8a2d1d83e99d23
Pull Request resolved: #30073
  • Loading branch information
poteto committed Jul 9, 2024
1 parent dc95d39 commit fbab3ff
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/runtime_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,27 @@ jobs:
- name: Display structure of build
run: ls -R build
- run: yarn lint-build

process_artifacts_combined:
name: Process artifacts combined
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Restore archived build
uses: actions/download-artifact@v4
with:
path: build
merge-multiple: true
- run: echo ${{ github.sha }} >> build/COMMIT_SHA
# Compress build directory into a single tarball for easy download
- run: tar -zcvf ./build.tgz ./build
# TODO: Migrate scripts to use `build` directory instead of `build2`
- run: cp ./build.tgz ./build2.tgz
- name: Archive build artifacts
uses: actions/upload-artifact@v4
with:
name: combined_artifacts_${{ github.sha }}
path: |
./build.tgz
./build2.tgz

0 comments on commit fbab3ff

Please sign in to comment.