Skip to content

Commit 204fa8e

Browse files
Merge pull request #6 from CorruptedAesthetic/experiment-srtool
fixes to publish
2 parents 38fca48 + 05108fe commit 204fa8e

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ jobs:
2323
- name: Checkout repository
2424
uses: actions/checkout@v4
2525

26+
# Free up additional disk space on GitHub runner (~10-15 GB)
27+
- name: Free runner disk space
28+
run: |
29+
sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/share/boost /usr/share/swift /usr/local/lib/android /opt/hostedtoolcache || true
30+
sudo apt-get clean
31+
df -h
32+
2633
# Set up Docker Buildx for efficient layer caching
2734
- name: Set up Docker Buildx
2835
uses: docker/setup-buildx-action@v3
@@ -64,7 +71,7 @@ jobs:
6471
-e PACKAGE=fennel-node-runtime \
6572
--workdir /build \
6673
paritytech/srtool:1.84.1 /srtool/build
67-
74+
6875
# After the container exits the compiled Wasm lives in the mounted volume
6976
HASH=$(sha256sum runtime/fennel/target/srtool/release/wbuild/fennel-node-runtime/fennel_node_runtime.compact.wasm | awk '{print "0x"$1}')
7077
echo "WASM_HASH=$HASH" >> $GITHUB_ENV
@@ -85,7 +92,8 @@ jobs:
8592
build-args: |
8693
WASM_HASH=${{ env.WASM_HASH }}
8794
cache-from: type=gha
88-
95+
provenance: false
96+
8997
# Create and upload artifact containing image info
9098
- name: Output image info to artifact
9199
run: |

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ jobs:
5858
push: false
5959
load: false # don't export layers to docker engine (saves disk)
6060
cache-from: type=gha
61-
61+
6262
- name: Verify node binary exists in builder stage output
6363
run: echo "Dockerfile syntax & builder stage compilation succeeded."

0 commit comments

Comments
 (0)