Skip to content

Commit 2d8da29

Browse files
committed
chore: don't actually generate parameters but be cheaper
1 parent 9b60ba1 commit 2d8da29

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/ci.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,12 @@ jobs:
6868
- uses: dtolnay/rust-toolchain@master
6969
with:
7070
toolchain: ${{needs.set-msrv.outputs.msrv}}
71-
- name: Install required packages
72-
run: sudo apt install --no-install-recommends --yes ocl-icd-opencl-dev libhwloc-dev
71+
#- name: Install required packages
72+
# run: sudo apt install --no-install-recommends --yes ocl-icd-opencl-dev libhwloc-dev
7373

7474
- name: Generate proof parameters
75-
run: cargo run --release --no-default-features --bin paramcache -- --sector-sizes=${{ matrix.size }}
75+
#run: cargo run --release --no-default-features --bin paramcache -- --sector-sizes=${{ matrix.size }}
76+
run: mkdir -p /var/tmp/filecoin-proof-parameters/ && touch /var/tmp/filecoin-proof-parameters/${{ matrix.size }}.params
7677

7778
#- name: Cache proof parameters
7879
# id: cache-parameters
@@ -152,8 +153,10 @@ jobs:
152153
#name: my-artifact
153154
path: /var/tmp/filecoin-proof-parameters/
154155
merge-multiple: true
155-
github-token: ${{ github.token }}
156-
repository: ${{ github.action_repository }}
156+
#github-token: ${{ github.token }}
157+
#repository: ${{ github.action_repository }}
158+
run-id: ${{ github.event.workflow_run.id }}
159+
github-token: ${{ secrets.GITHUB_TOKEN }}
157160
- name: Display structure of downloaded files
158161
run: ls -lR /var/tmp/filecoin-proof-parameters/
159162

0 commit comments

Comments
 (0)