forked from aslan/applicant-site
fix CI
This commit is contained in:
parent
3d14987fcb
commit
023dba341a
|
@ -40,23 +40,19 @@ jobs:
|
|||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
# - name: Add keys
|
||||
# run: |
|
||||
# sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub
|
||||
# sudo curl -o ~/.composer/keys.dev.pub -sL https://composer.github.io/snapshots.pub
|
||||
# - run: echo $COMPOSER_AUTH|jq -r '.["github-oauth"]["github.com"]'|base64
|
||||
# - run: echo $GITHUB_TOKEN|base64
|
||||
# - name: Diagnose composer
|
||||
# env:
|
||||
# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
|
||||
# run: composer diagnose -vvv
|
||||
# - name: Install dependencies
|
||||
# env:
|
||||
# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
|
||||
# run: composer install # will work
|
||||
- name: Add keys
|
||||
run: |
|
||||
sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub
|
||||
sudo curl -o ~/.composer/keys.dev.pub -sL https://composer.github.io/snapshots.pub
|
||||
|
||||
- name: add GITHUB_TOKEN
|
||||
run: composer config --global github-oauth.github.com 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
|
||||
- name: Diagnose composer
|
||||
env:
|
||||
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
|
||||
run: composer diagnose -vvv
|
||||
- name: Install dependencies
|
||||
env:
|
||||
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
|
||||
run: composer install # will work
|
||||
|
||||
- name: Setup project
|
||||
run: make setup
|
||||
|
|
Loading…
Reference in New Issue