diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 029e2dd..0ba1fef 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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 < ${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: