Fix linux permissions, adjut folder layout in windows zip
There is a bit of difference in 7z when using .\abc\ or abc\. cd is an alias for Set-Location.
This commit is contained in:
parent
d4fb5978ea
commit
4795ddcf6f
|
@ -131,6 +131,12 @@ jobs:
|
|||
run: |
|
||||
find dist/client/ -type f -name "*.pyc" -delete
|
||||
while read line; do find dist/client/ -type f -name "${line}" -delete ; done < hydrus/static/build_files/linux/files_to_delete.txt
|
||||
-
|
||||
name: Set Permissions
|
||||
run: |
|
||||
chown --recursive 1000:1000 dist/client
|
||||
find dist/client -type d -exec chmod 0755 {} \;
|
||||
chmod +x dist/client/client dist/client/server dist/client/client.py dist/client/server.py dist/client/bin/swfrender_linux
|
||||
-
|
||||
name: Compress Client
|
||||
run: |
|
||||
|
@ -217,7 +223,9 @@ jobs:
|
|||
-
|
||||
name: Compress Client
|
||||
run: |
|
||||
7z.exe a -tzip -mm=Deflate -mx=5 Windows-Extract.zip '.\dist\Hydrus Network\'
|
||||
Set-Location -Path dist
|
||||
7z.exe a -tzip -mm=Deflate -mx=5 '..\Windows-Extract.zip' 'Hydrus Network\'
|
||||
Set-Location -Path ..
|
||||
-
|
||||
name: Upload a Build Artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
|
|
|
@ -56,6 +56,12 @@ jobs:
|
|||
run: |
|
||||
find dist/client/ -type f -name "*.pyc" -delete
|
||||
while read line; do find dist/client/ -type f -name "${line}" -delete ; done < hydrus/static/build_files/linux/files_to_delete.txt
|
||||
-
|
||||
name: Set Permissions
|
||||
run: |
|
||||
chown --recursive 1000:1000 dist/client
|
||||
find dist/client -type d -exec chmod 0755 {} \;
|
||||
chmod +x dist/client/client dist/client/server dist/client/client.py dist/client/server.py dist/client/bin/swfrender_linux
|
||||
-
|
||||
name: Compress Client
|
||||
run: |
|
||||
|
|
|
@ -77,7 +77,9 @@ jobs:
|
|||
-
|
||||
name: Compress Client
|
||||
run: |
|
||||
7z.exe a -tzip -mm=Deflate -mx=5 Windows-Extract.zip '.\dist\Hydrus Network\'
|
||||
Set-Location -Path dist
|
||||
7z.exe a -tzip -mm=Deflate -mx=5 '..\Windows-Extract.zip' 'Hydrus Network\'
|
||||
Set-Location -Path ..
|
||||
-
|
||||
name: Upload a Build Artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
|
|
Loading…
Reference in New Issue