File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 59
59
${{ runner.os }}-
60
60
61
61
- name : Setup Composer Token
62
- if : secrets.COMPOSER_TOKEN
63
- run : composer config github-oauth.github.com ${{ secrets.COMPOSER_TOKEN }}
62
+ run : |
63
+ if [ ! -z "${{ secrets.COMPOSER_TOKEN }}"]; then
64
+ composer config github-oauth.github.com ${{ secrets.COMPOSER_TOKEN }}
65
+ fi
64
66
65
67
- name : Install Project Dependencies
66
68
run : composer install --prefer-dist --no-interaction --no-ansi --no-progress --no-suggest
Original file line number Diff line number Diff line change 54
54
${{ runner.os }}-
55
55
56
56
- name : Setup Composer Token
57
- if : secrets.COMPOSER_TOKEN
58
- run : composer config github-oauth.github.com ${{ secrets.COMPOSER_TOKEN }}
57
+ run : |
58
+ if [ ! -z "${{ secrets.COMPOSER_TOKEN }}"]; then
59
+ composer config github-oauth.github.com ${{ secrets.COMPOSER_TOKEN }}
60
+ fi
59
61
60
62
- name : Install Project Dependencies
61
63
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