forked from aslan/applicant-site
fix CI
This commit is contained in:
parent
3d14987fcb
commit
023dba341a
|
@ -40,23 +40,19 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
# - name: Add keys
|
- name: Add keys
|
||||||
# run: |
|
run: |
|
||||||
# sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub
|
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
|
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 GITHUB_TOKEN
|
- name: Diagnose composer
|
||||||
run: composer config --global github-oauth.github.com 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
|
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
|
- name: Setup project
|
||||||
run: make setup
|
run: make setup
|
||||||
|
|
Loading…
Reference in New Issue