Skip to content

Commit bcc64a0

Browse files
NotStirredCursedFlames
authored andcommitted
Attempt to fix tar recursion by compressing into /tmp
1 parent a039150 commit bcc64a0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/gradleBuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
run: ./gradlew build -x test -x longRunTest
3030

3131
- name: Tar post-build state
32-
run: tar --exclude=./post-build.tar.gz -czf post-build.tar.gz .
32+
run: tar -cvzpf /tmp/post-build.tar.gz .
3333
- name: Upload post-build state
3434
uses: actions/upload-artifact@v4
3535
with:
3636
name: post-build-state
37-
path: .
37+
path: /tmp/post-build.tar.gz
3838

3939
- name: Upload compiled jars
4040
uses: actions/upload-artifact@v4

.github/workflows/gradleBuildPR.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
run: ./gradlew build -x test -x longRunTest
2828

2929
- name: Tar post-build state
30-
run: tar --exclude=./post-build.tar.gz -czf post-build.tar.gz .
30+
run: tar -cvzpf /tmp/post-build.tar.gz .
3131
- name: Upload post-build state
3232
uses: actions/upload-artifact@v4
3333
with:
3434
name: post-build-state
35-
path: post-build.tar.gz
35+
path: /tmp/post-build.tar.gz
3636

3737
call-test:
3838
needs: build

0 commit comments

Comments
 (0)