Skip to content

Commit

Permalink
added github token for phar build too to avoid composer rate limit (#357
Browse files Browse the repository at this point in the history
)
  • Loading branch information
AlessandroMinoccheri authored Feb 19, 2023
1 parent 6b8f553 commit 9f2768a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
with:
php-version: 7.1
tools: composer:v2.2
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}

- name: Install dependencies
run: composer install --prefer-dist --no-dev -o
Expand Down Expand Up @@ -107,6 +109,8 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}

- name: "Download phar ./phparkitect-${{ github.sha }}.phar"
uses: actions/download-artifact@v3
Expand Down

0 comments on commit 9f2768a

Please sign in to comment.