see if i get token correctly to config
This commit is contained in:
13
.github/workflows/nightly.yml
vendored
13
.github/workflows/nightly.yml
vendored
@@ -30,12 +30,15 @@ jobs:
|
|||||||
runs-on: [ubuntu-latest, cloud]
|
runs-on: [ubuntu-latest, cloud]
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- name: Test if I can get the token
|
- name: Put token into config file
|
||||||
run: |
|
run: |
|
||||||
echo "TOKEN=${{ secrets.TEST_TOKEN }}" > $GITHUB_ENV
|
cat <<EOF > ${GITHUB_WORKSPACE}/config.json
|
||||||
- name: Print the token
|
{
|
||||||
run: |
|
"token": "${{ secrets.TEST_TOKEN }}"
|
||||||
echo "The token is: ${{ secrets.TEST_TOKEN }}"
|
}
|
||||||
|
EOF
|
||||||
|
- name: print config file
|
||||||
|
run: cat ${GITHUB_WORKSPACE}/config.json
|
||||||
# - name: Download artifacts
|
# - name: Download artifacts
|
||||||
# uses: actions/download-artifact@v3
|
# uses: actions/download-artifact@v3
|
||||||
# with:
|
# with:
|
||||||
|
|||||||
Reference in New Issue
Block a user