Skip to content

Commit e3895d3

Browse files
committed
CI: fix tar command to create release artifacts
1 parent 65bc111 commit e3895d3

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
integration:
99
name: Integration
1010
uses: ./.github/workflows/integrate.yml
11-
11+
1212
create-release:
1313
name: Create Release
1414
needs: integration
@@ -18,12 +18,16 @@ jobs:
1818
uses: actions/download-artifact@v3
1919
with:
2020
name: XKCP
21+
- name: List Files
22+
run: |
23+
ls -laR
2124
- name: Repackage as release artifacts
2225
run: |
23-
tar czf artifacts/XKCP-linux.tar.gz -C Linux/*
24-
tar czf artifacts/XKCP-osx.tar.gz -C macOS/*
25-
tar czf artifacts/XKCP-win.tar.gz -C Windows/*
26-
tar czf artifacts/XKCP-headers.tar.gz -C Headers/*
26+
mkdir artifacts
27+
tar czf artifacts/XKCP-linux.tar.gz -C Linux .
28+
tar czf artifacts/XKCP-osx.tar.gz -C macOS .
29+
tar czf artifacts/XKCP-win.tar.gz -C Windows .
30+
tar czf artifacts/XKCP-headers.tar.gz -C Headers .
2731
- name: Create release on GitHub
2832
uses: softprops/action-gh-release@v0.1.14
2933
with:

0 commit comments

Comments
 (0)