Skip to content
This repository was archived by the owner on Aug 28, 2022. It is now read-only.

Commit 3287db6

Browse files
committed
fix the tag name
1 parent 12bfeae commit 3287db6

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.github/workflows/continuous-deployment.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,29 @@ jobs:
1313

1414
runs-on: "ubuntu-latest"
1515

16+
strategy:
17+
fail-fast: true
18+
max-parallel: 15
19+
matrix:
20+
php-versions: ['7.4']
21+
1622
steps:
1723
- name: Checkout code
1824
uses: actions/checkout@v2
1925

2026
- name: Setup PHP
2127
uses: shivammathur/setup-php@v2
2228
with:
23-
php-version: '7.4'
29+
php-version: ${{ matrix.php-versions }}
30+
31+
- name: Cache dependencies
32+
uses: actions/cache@v1
33+
with:
34+
path: ~/.composer/cache/files
35+
key: php-${{ matrix.php-versions }}-composer-${{ hashFiles('composer.json') }}
2436

2537
- name: Composer install
2638
run: composer install --prefer-dist --no-progress --no-suggest
27-
28-
- name: Determine tag
29-
id: determine-tag
30-
run: echo "\"::set-output name=tag::${GITHUB_REF#refs/tags/}\""
3139

3240
- name: Build project
3341
run: php -d phar.readonly=false ./vendor/bin/box compile
@@ -40,8 +48,8 @@ jobs:
4048
with:
4149
draft: false
4250
prerelease: false
43-
release_name: ${{ steps.determine-tag.outputs.tag }}
44-
tag_name: ${{ steps.determine-tag.outputs.tag }}
51+
release_name: ${{ github.ref }}
52+
tag_name: ${{ github.ref }}
4553

4654
- name: Upload Release Asset
4755
id: upload-release-asset

0 commit comments

Comments
 (0)