File tree Expand file tree Collapse file tree 3 files changed +69
-2
lines changed Expand file tree Collapse file tree 3 files changed +69
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : " Fetch and Install Binary"
2
+ description : " Downloads a binary from a GitHub release, verifies its checksum, and installs it to PATH. Only works for Linux."
3
+ inputs :
4
+ version :
5
+ description : " Release version (e.g., v0.8.24)"
6
+ required : true
7
+ repo_owner :
8
+ description : " GitHub repository owner"
9
+ required : true
10
+ repo_name :
11
+ description : " GitHub repository name"
12
+ required : true
13
+ remote_name :
14
+ description : " Binary filename in the release"
15
+ required : true
16
+ binary_name :
17
+ description : " Name to install the binary as"
18
+ required : true
19
+ expected_sha256 :
20
+ description : " Expected SHA256 checksum"
21
+ required : true
22
+ runs :
23
+ using : " composite"
24
+ steps :
25
+ - name : Download binary
26
+ shell : bash
27
+ run : |
28
+ curl -sSL "https://github.com/${{ inputs.repo_owner }}/${{ inputs.repo_name }}/releases/download/${{ inputs.version }}/${{ inputs.remote_name }}" -o ./${{ inputs.binary_name }}
29
+ echo "${{ inputs.expected_sha256 }} ${{ inputs.binary_name }}" | sha256sum -c -
30
+ sudo mv ./${{ inputs.binary_name }} /usr/local/bin/${{ inputs.binary_name }}
31
+ sudo chmod +x /usr/local/bin/${{ inputs.binary_name }}
Original file line number Diff line number Diff line change @@ -29,14 +29,32 @@ jobs:
29
29
echo "features=$(cat features.json)" >> "$GITHUB_OUTPUT"
30
30
build :
31
31
needs : features
32
- runs-on : self-hosted
32
+ runs-on : [ self-hosted-ghr, size-chungus-x64]
33
33
strategy :
34
34
matrix :
35
35
name : ${{ fromJson(needs.features.outputs.features) }}
36
36
steps :
37
37
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
38
38
with :
39
39
submodules : true
40
+ - name : Fetch lllc
41
+ uses : ./.github/actions/fetch-binary
42
+ with :
43
+ version : v1.0.0
44
+ repo_owner : felix314159
45
+ repo_name : lllc-custom
46
+ remote_name : lllc
47
+ binary_name : lllc
48
+ expected_sha256 : 865a0d5379acb3b5471337b5dcf686a2dd71587c6b65b9da6c963de627e0b300
49
+ - name : Fetch Solidity
50
+ uses : ./.github/actions/fetch-binary
51
+ with :
52
+ version : v0.8.24
53
+ repo_owner : ethereum
54
+ repo_name : solidity
55
+ remote_name : solc-static-linux
56
+ binary_name : solc
57
+ expected_sha256 : fb03a29a517452b9f12bcf459ef37d0a543765bb3bbc911e70a87d6a37c30d5f
40
58
- uses : ./.github/actions/build-fixtures
41
59
with :
42
60
release_name : ${{ matrix.name }}
Original file line number Diff line number Diff line change 23
23
echo names=${names}
24
24
echo names=${names} >> "$GITHUB_OUTPUT"
25
25
build :
26
- runs-on : self-hosted
26
+ runs-on : [ self-hosted-ghr, size-chungus-x64]
27
27
needs : feature-names
28
28
strategy :
29
29
matrix :
32
32
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
33
33
with :
34
34
submodules : true
35
+ - name : Fetch lllc
36
+ uses : ./.github/actions/fetch-binary
37
+ with :
38
+ version : v1.0.0
39
+ repo_owner : felix314159
40
+ repo_name : lllc-custom
41
+ remote_name : lllc
42
+ binary_name : lllc
43
+ expected_sha256 : 865a0d5379acb3b5471337b5dcf686a2dd71587c6b65b9da6c963de627e0b300
44
+ - name : Fetch Solidity
45
+ uses : ./.github/actions/fetch-binary
46
+ with :
47
+ version : v0.8.24
48
+ repo_owner : ethereum
49
+ repo_name : solidity
50
+ remote_name : solc-static-linux
51
+ binary_name : solc
52
+ expected_sha256 : fb03a29a517452b9f12bcf459ef37d0a543765bb3bbc911e70a87d6a37c30d5f
35
53
- uses : ./.github/actions/build-fixtures
36
54
with :
37
55
release_name : ${{ matrix.feature }}
You can’t perform that action at this time.
0 commit comments