Skip to content

Commit 6eebfa6

Browse files
authored
Merge pull request #388 from ethstorage/dl-fix-swc-build
fix swc build
2 parents 1d8e7b5 + 831b707 commit 6eebfa6

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set up Go
3232
uses: actions/setup-go@v5
3333
with:
34-
go-version: '1.21'
34+
go-version: '1.23'
3535

3636
- name: Set up build environment
3737
if: matrix.os == 'ubuntu-latest'
@@ -45,8 +45,7 @@ jobs:
4545
mkdir -p ${{ env.BIN_DIR }}/snarkbuild
4646
mkdir -p ${{ env.BIN_DIR }}/snark_lib/zkey
4747
cp -r ethstorage/prover/snark_lib ${{ env.BIN_DIR }}
48-
cp init.sh ${{ env.BUILD_DIR }}
49-
cp run.sh ${{ env.BUILD_DIR }}
48+
cp *.sh ${{ env.BUILD_DIR }}
5049
5150
- name: Build
5251
run: |

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ RUN apk add --no-cache bash curl libstdc++ gcompat libgomp nodejs npm
1111
RUN npm install -g snarkjs
1212

1313
# Entrypoint
14-
COPY --from=builder /es-node/init.sh /es-node/
15-
COPY --from=builder /es-node/run.sh /es-node/
16-
RUN chmod +x /es-node/init.sh /es-node/run.sh
14+
COPY --from=builder /es-node/*.sh /es-node/
15+
RUN chmod +x /es-node/*.sh
1716
WORKDIR /es-node
1817

1918
EXPOSE 9545 9222 30305/udp

0 commit comments

Comments
 (0)