fix mkdir bugs

This commit is contained in:
crazywhalecc 2021-08-31 13:03:54 +08:00
parent 0635341f43
commit 851b35ea4f
4 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ jobs:
run: cd docker/ && docker build . --file Dockerfile --tag static-php-arm --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=7.2.34
- name: Push PHP 7.2.34 arm to dist
run: |
mkdir dist && docker run --rm -v $(pwd)/dist:/dist/ static-php-arm cp php-dist/bin/php /dist/
docker run --rm -v $(pwd)/dist:/dist/ static-php-arm cp php-dist/bin/php /dist/
cd dist && tar -zcvf "php-7.2.34-static-bin-aarch64.tar.gz" ./php && rm ./php
- name: Deploy to Zhamao Server
uses: easingthemes/ssh-deploy@main

View File

@ -26,7 +26,7 @@ jobs:
run: cd docker/ && docker build . --file Dockerfile --tag static-php-arm --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=7.3.30
- name: Push PHP 7.3.30 arm to dist
run: |
mkdir dist && docker run --rm -v $(pwd)/dist:/dist/ static-php-arm cp php-dist/bin/php /dist/
docker run --rm -v $(pwd)/dist:/dist/ static-php-arm cp php-dist/bin/php /dist/
cd dist && tar -zcvf "php-7.3.30-static-bin-aarch64.tar.gz" ./php && rm ./php
- name: Deploy to Zhamao Server
uses: easingthemes/ssh-deploy@main

View File

@ -26,7 +26,7 @@ jobs:
run: cd docker/ && docker build . --file Dockerfile --tag static-php-arm --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=7.4.23
- name: Push PHP 7.4.23 arm to dist
run: |
mkdir dist && docker run --rm -v $(pwd)/dist:/dist/ static-php-arm cp php-dist/bin/php /dist/
docker run --rm -v $(pwd)/dist:/dist/ static-php-arm cp php-dist/bin/php /dist/
cd dist && tar -zcvf "php-7.4.23-static-bin-aarch64.tar.gz" ./php && rm ./php
- name: Deploy to Zhamao Server
uses: easingthemes/ssh-deploy@main

View File

@ -26,7 +26,7 @@ jobs:
run: cd docker/ && docker build . --file Dockerfile --tag static-php-arm --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=8.0.10
- name: Push PHP 8.0.10 arm to dist
run: |
mkdir dist && docker run --rm -v $(pwd)/dist:/dist/ static-php-arm cp php-dist/bin/php /dist/
docker run --rm -v $(pwd)/dist:/dist/ static-php-arm cp php-dist/bin/php /dist/
cd dist && tar -zcvf "php-8.0.10-static-bin-aarch64.tar.gz" ./php && rm ./php
- name: Deploy to Zhamao Server
uses: easingthemes/ssh-deploy@main