Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
with:
path: build\solc\Release\solc.exe
key: solc-windows-${{ github.run_id }}
enableCrossOsArchive: true

b_macos:
runs-on: [ self-hosted, macOS ]
Expand All @@ -59,6 +60,7 @@ jobs:
with:
path: build/solc/solc
key: solc-macos-${{ github.run_id }}
enableCrossOsArchive: true

b_linux:
runs-on: [ self-hosted, Linux, for-linux ]
Expand Down Expand Up @@ -115,19 +117,27 @@ jobs:

upload-to-s3:
needs: [ b_windows, b_macos, b_linux, b_ems ]

runs-on: [ self-hosted, Linux ]

permissions:
actions: read
contents: read

steps:
- name: Restore solc-windows
uses: actions/cache/restore@v4
with:
path: artifacts/solc-windows/solc.exe
key: solc-windows-${{ github.run_id }}
enableCrossOsArchive: true

- name: Restore solc-macos
uses: actions/cache/restore@v4
with:
path: artifacts/solc-macos/solc
key: solc-macos-${{ github.run_id }}
enableCrossOsArchive: true

- name: Restore solc-linux
uses: actions/cache/restore@v4
Expand All @@ -152,7 +162,7 @@ jobs:
cp artifacts/solc-macos/solc github/solc-macos
cp artifacts/solc-windows/solc.exe github/solc-windows.exe
cp artifacts/solc-ems/soljson.js github/soljson.js

cd github
tar --create --file ../github-binaries.tar *

Expand Down