mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-21 14:30:34 -04:00
Fixing tar
This commit is contained in:
parent
418e32c3de
commit
94e70371e1
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -32,12 +32,13 @@ jobs:
|
|||||||
- name: Build the app
|
- name: Build the app
|
||||||
run: dotnet publish -r ${{matrix.runtime}} -c Release -o dist Kyoo
|
run: dotnet publish -r ${{matrix.runtime}} -c Release -o dist Kyoo
|
||||||
- name: Compression output
|
- name: Compression output
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
assets=kyoo_${{matrix.artifact}}
|
assets=kyoo_${{matrix.artifact}}
|
||||||
if [[ "${{runner.os}}" == "Windows" ]]; then
|
if [[ "${{runner.os}}" == "Windows" ]]; then
|
||||||
7z a "$assets.zip" dist
|
cd dist && 7z a "../$assets.zip"
|
||||||
else
|
else
|
||||||
tar czf "$assets.tar.gz" dist
|
tar -C dist -czf "$assets.tar.gz" .
|
||||||
fi
|
fi
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
@ -58,9 +59,9 @@ jobs:
|
|||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: kyoo_linux
|
name: kyoo_linux
|
||||||
path: dist.tar.gz
|
path: artifact
|
||||||
- name: Unzip the published files.
|
- name: Unzip the published files.
|
||||||
run: mkdir dist && tar -C dist -xzf dist.tar.gz dist
|
run: mkdir dist && tar -C dist -xzf artifact/kyoo_linux.tar.gz
|
||||||
- name: Create the package structure
|
- name: Create the package structure
|
||||||
run: |
|
run: |
|
||||||
mkdir -p pkg/usr/lib/
|
mkdir -p pkg/usr/lib/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user