Skip to content

Commit 5d753b9

Browse files
committed
Fix previous commits
1 parent 11fc4b8 commit 5d753b9

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ jobs:
5959
${{ runner.os }}-
6060

6161
- 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
6466
6567
- name: Install Project Dependencies
6668
run: composer install --prefer-dist --no-interaction --no-ansi --no-progress --no-suggest

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ jobs:
5454
${{ runner.os }}-
5555

5656
- 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
5961
6062
- name: Install Project Dependencies
6163
run: composer install --prefer-dist --no-interaction --no-ansi --no-progress --no-suggest

0 commit comments

Comments
 (0)