Update workflows [skip ci]

Change runner on remote ubuntu-latest
This commit is contained in:
Jerry Ma 2022-02-11 16:41:20 +08:00 committed by GitHub
parent be777dc848
commit 01a51c58d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,11 +10,11 @@ jobs:
build-81:
env:
PHP_VERSION: 8.1.2
runs-on: [self-hosted, X64]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build PHP ${{ env.PHP_VERSION }}
run: cd docker/ && docker build . --file Dockerfile --tag static-php --build-arg USE_BACKUP_ADDRESS=no --build-arg COMPILE_PHP_VERSION=${{ env.PHP_VERSION }}
run: cd docker/ && docker build . --file Dockerfile --tag static-php --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=${{ env.PHP_VERSION }}
- name: Push PHP ${{ env.PHP_VERSION }} to dist
run: |
mkdir dist && docker run --rm -v $(pwd)/dist:/dist/ static-php cp php-dist/bin/php /dist/
@ -36,11 +36,11 @@ jobs:
build-80:
env:
PHP_VERSION: 8.0.15
runs-on: [self-hosted, X64]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build PHP ${{ env.PHP_VERSION }}
run: cd docker/ && docker build . --file Dockerfile --tag static-php --build-arg USE_BACKUP_ADDRESS=no --build-arg COMPILE_PHP_VERSION=${{ env.PHP_VERSION }}
run: cd docker/ && docker build . --file Dockerfile --tag static-php --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=${{ env.PHP_VERSION }}
- name: Push PHP ${{ env.PHP_VERSION }} to dist
run: |
mkdir dist && docker run --rm -v $(pwd)/dist:/dist/ static-php cp php-dist/bin/php /dist/
@ -62,11 +62,11 @@ jobs:
build-74:
env:
PHP_VERSION: 7.4.27
runs-on: [self-hosted, X64]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build PHP ${{ env.PHP_VERSION }}
run: cd docker/ && docker build . --file Dockerfile --tag static-php --build-arg USE_BACKUP_ADDRESS=no --build-arg COMPILE_PHP_VERSION=${{ env.PHP_VERSION }}
run: cd docker/ && docker build . --file Dockerfile --tag static-php --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=${{ env.PHP_VERSION }}
- name: Push PHP ${{ env.PHP_VERSION }} to dist
run: |
mkdir dist && docker run --rm -v $(pwd)/dist:/dist/ static-php cp php-dist/bin/php /dist/
@ -88,11 +88,11 @@ jobs:
build-73:
env:
PHP_VERSION: 7.3.33
runs-on: [self-hosted, X64]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build PHP ${{ env.PHP_VERSION }}
run: cd docker/ && docker build . --file Dockerfile --tag static-php --build-arg USE_BACKUP_ADDRESS=no --build-arg COMPILE_PHP_VERSION=${{ env.PHP_VERSION }}
run: cd docker/ && docker build . --file Dockerfile --tag static-php --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=${{ env.PHP_VERSION }}
- name: Push PHP ${{ env.PHP_VERSION }} to dist
run: |
mkdir dist && docker run --rm -v $(pwd)/dist:/dist/ static-php cp php-dist/bin/php /dist/
@ -114,11 +114,11 @@ jobs:
build-72:
env:
PHP_VERSION: 7.2.34
runs-on: [self-hosted, X64]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build PHP ${{ env.PHP_VERSION }}
run: cd docker/ && docker build . --file Dockerfile --tag static-php --build-arg USE_BACKUP_ADDRESS=no --build-arg COMPILE_PHP_VERSION=${{ env.PHP_VERSION }}
run: cd docker/ && docker build . --file Dockerfile --tag static-php --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=${{ env.PHP_VERSION }}
- name: Push PHP ${{ env.PHP_VERSION }} to dist
run: |
mkdir dist && docker run --rm -v $(pwd)/dist:/dist/ static-php cp php-dist/bin/php /dist/