Skip to content

Commit 5a2012f

Browse files
committed
Code cleanup
1 parent 3240498 commit 5a2012f

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,8 @@ jobs:
3535
coverage: none
3636
ini-values: memory_limit=1G, phar.readonly=0
3737

38-
- name: Common settings
39-
run: |
40-
git config --global user.name cicdbot
41-
git config --global user.email [email protected]
42-
43-
# Choose a suitable PHP version to build PHAR
44-
composer config platform.php 7.0.33
38+
- name: Choose a Suitable PHP Version to Build PHAR
39+
run: composer config platform.php 7.0.33
4540

4641
- name: Get Composer Cache Directory
4742
id: composer-cache
@@ -82,9 +77,7 @@ jobs:
8277

8378
- name: Get Git Version
8479
id: get-version
85-
run: |
86-
echo ::set-output name=version::${GITHUB_REF#refs/tags/}
87-
echo 'Pushing version ${{ steps.get-version.outputs.version }}'
80+
run: echo ::set-output name=version::${GITHUB_REF#refs/tags/}
8881

8982
- name: Self-Test
9083
run: ./example.phar --version
@@ -98,5 +91,5 @@ jobs:
9891
body: 'Next stable release.'
9992
# This will update existing tags if any
10093
allowUpdates: true
101-
artifact: example.phar
94+
artifacts: example.phar
10295
artifactContentType: application/x-php

0 commit comments

Comments
 (0)