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]
|
||||
needs: build
|
||||
steps:
|
||||
- name: Test if I can get the token
|
||||
- name: Put token into config file
|
||||
run: |
|
||||
echo "TOKEN=${{ secrets.TEST_TOKEN }}" > $GITHUB_ENV
|
||||
- name: Print the token
|
||||
run: |
|
||||
echo "The token is: ${{ secrets.TEST_TOKEN }}"
|
||||
cat <<EOF > ${GITHUB_WORKSPACE}/config.json
|
||||
{
|
||||
"token": "${{ secrets.TEST_TOKEN }}"
|
||||
}
|
||||
EOF
|
||||
- name: print config file
|
||||
run: cat ${GITHUB_WORKSPACE}/config.json
|
||||
# - name: Download artifacts
|
||||
# uses: actions/download-artifact@v3
|
||||
# with:
|
||||
|
||||
Reference in New Issue
Block a user