mirror of
https://github.com/tchapi/davis.git
synced 2025-04-21 21:11:59 +02:00
Update actions version for Github
This commit is contained in:
parent
bb1e4566c7
commit
2a37836d14
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
--tmpfs /var/tmp:exec
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: Install GD PHP extension
|
||||
run: |
|
||||
apk add $PHPIZE_DEPS libpng-dev
|
||||
@ -29,7 +29,7 @@ jobs:
|
||||
- name: Install Composer
|
||||
run: wget -qO - https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --quiet
|
||||
- name: Cache Composer dependencies
|
||||
uses: actions/cache@v1
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.composer/cache
|
||||
key: composer-php${{ matrix.php }}-highest-
|
||||
@ -79,7 +79,7 @@ jobs:
|
||||
fail-fast: false
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: Install MySQL / GD PHP extensions
|
||||
run: |
|
||||
apk add $PHPIZE_DEPS icu-libs icu-dev libpng-dev
|
||||
@ -89,7 +89,7 @@ jobs:
|
||||
- name: Install Composer
|
||||
run: wget -qO - https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --quiet
|
||||
- name: Cache Composer dependencies
|
||||
uses: actions/cache@v1
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.composer/cache
|
||||
key: composer-php${{ matrix.php }}-${{ matrix.dependencies }}-
|
||||
|
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
-
|
||||
name: Prepare tags
|
||||
id: prepare_tags
|
||||
@ -30,7 +30,7 @@ jobs:
|
||||
echo "created=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT
|
||||
-
|
||||
name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
@ -38,7 +38,7 @@ jobs:
|
||||
-
|
||||
name: Build and Push to GitHub Packages
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
file: docker/Dockerfile
|
||||
pull: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user