mirror of
https://github.com/nitnelave/lldap.git
synced 2023-04-12 14:25:13 +00:00
compress using tar
This commit is contained in:
parent
56168e28a0
commit
2035b7b48b
17
.github/workflows/docker-build-static.yml
vendored
17
.github/workflows/docker-build-static.yml
vendored
@ -89,7 +89,6 @@ jobs:
|
||||
build-armhf:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
# image: rust:1.65
|
||||
image: nitnelave/rust-dev:latest
|
||||
env:
|
||||
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER: arm-linux-gnueabihf-gcc
|
||||
@ -377,6 +376,8 @@ jobs:
|
||||
mv bin/aarch64-migration-tool-bin/migration-tool bin/aarch64-migration-tool
|
||||
mv bin/amd64-migration-tool-bin/migration-tool bin/amd64-migration-tool
|
||||
mv bin/armhf-migration-tool-bin/migration-tool bin/armhf-migration-tool
|
||||
chmod +x bin/*-lldap
|
||||
chmod +x bin/*-migration-tool
|
||||
|
||||
- name: Download llap ui artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
@ -413,11 +414,9 @@ jobs:
|
||||
|
||||
- name: Compress
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y zip
|
||||
zip -r aarch64-lldap.zip aarch64-lldap/
|
||||
zip -r amd64-lldap.zip amd64-lldap/
|
||||
zip -r armhf-lldap.zip armhf-lldap/
|
||||
tar -czvf -r aarch64-lldap.tar.gz aarch64-lldap/
|
||||
tar -czvf amd64-lldap.tar.gz amd64-lldap/
|
||||
tar -czvf armhf-lldap.tar.gz armhf-lldap/
|
||||
|
||||
|
||||
- name: Upload artifacts release
|
||||
@ -425,8 +424,8 @@ jobs:
|
||||
id: create_release
|
||||
with:
|
||||
allowUpdates: true
|
||||
artifacts: aarch64-lldap.zip,
|
||||
amd64-lldap.zip,
|
||||
armhf-lldap.zip
|
||||
artifacts: aarch64-lldap.tar.gz,
|
||||
amd64-lldap.tar.gz,
|
||||
armhf-lldap.tar.gz
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
|
Loading…
Reference in New Issue
Block a user