File tree Expand file tree Collapse file tree 2 files changed +8
-20
lines changed
Expand file tree Collapse file tree 2 files changed +8
-20
lines changed Original file line number Diff line number Diff line change 4444 with :
4545 fetch-depth : 5
4646
47- - name : Common Settings
48- run : |
49- # Hide "You are in 'detached HEAD' state" message
50- git config --global advice.detachedHead false
51-
5247 - name : Get Composer Cache Directory
5348 id : composer-cache
54- run : echo " ::set-output name=dir::$(composer config cache-files-dir)"
49+ run : echo ::set-output name=dir::$(composer config cache-files-dir)
5550
5651 - name : Setup Composer Cache
5752 uses : actions/cache@v1
@@ -64,18 +59,14 @@ jobs:
6459 ${{ runner.os }}-
6560
6661 - name : Setup Composer Token
67- run : |
68- # To increase the GitHub rate limit we're use GitHub authentication
69- if [ -n "${{ secrets.COMPOSER_TOKEN }}" ]; then
70- composer config github-oauth.github.com "${{ secrets.COMPOSER_TOKEN }}"
71- fi
62+ if : ${{ secrets.COMPOSER_TOKEN }}
63+ run : composer config github-oauth.github.com ${{ secrets.COMPOSER_TOKEN }}
7264
7365 - name : Install Project Dependencies
7466 run : composer install --prefer-dist --no-interaction --no-ansi --no-progress --no-suggest
7567
7668 - name : Fast Commands Test
77- run : |
78- ./example Hello World
69+ run : ./example Hello World
7970
8071 - name : Success Reporting
8172 if : success()
Original file line number Diff line number Diff line change 4141
4242 - name : Get Composer Cache Directory
4343 id : composer-cache
44- run : echo " ::set-output name=dir::$(composer config cache-files-dir)"
44+ run : echo ::set-output name=dir::' $(composer config cache-files-dir)'
4545
4646 - name : Setup Composer Cache
4747 uses : actions/cache@v1
5353 ${{ runner.os }}-composer-
5454 ${{ runner.os }}-
5555
56- - name : Setup GitHub Token
57- run : |
58- # To increase the GitHub rate limit we're use GitHub authentication
59- if [ -n "${{ secrets.COMPOSER_TOKEN }}" ]; then
60- composer config github-oauth.github.com "${{ secrets.COMPOSER_TOKEN }}"
61- fi
56+ - name : Setup Composer Token
57+ if : ${{ secrets.COMPOSER_TOKEN }}
58+ run : composer config github-oauth.github.com ${{ secrets.COMPOSER_TOKEN }}
6259
6360 - name : Install Project Dependencies
6461 run : composer install --prefer-dist --no-interaction --no-ansi --no-progress --no-suggest
You can’t perform that action at this time.
0 commit comments