From 1290bdb0fa8de3245ca2fd0efd7c13907534999d Mon Sep 17 00:00:00 2001 From: Tianyu Liu Date: Sat, 24 May 2025 13:06:35 +0200 Subject: [PATCH] token not printed yet --- .github/workflows/nightly.yml | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 060c242..029e2dd 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -11,20 +11,20 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: '1.23' - - name: build - working-directory: ./src - run: | - go build - - name: Upload artifacts - uses: actions/upload-artifact@v3 - with: - path: ${{ github.workspace }}/src/home-automation-backend - name: home-automation-backend_build_${{ github.run_number }} - retention-days: 1 + # - name: Set up Go + # uses: actions/setup-go@v4 + # with: + # go-version: '1.23' + # - name: build + # working-directory: ./src + # run: | + # go build + # - name: Upload artifacts + # uses: actions/upload-artifact@v3 + # with: + # path: ${{ github.workspace }}/src/home-automation-backend + # name: home-automation-backend_build_${{ github.run_number }} + # retention-days: 1 nightly-tests-play: runs-on: [ubuntu-latest, cloud] @@ -32,8 +32,10 @@ jobs: steps: - name: Test if I can get the token run: | - echo "TOKEN=${{ secrets.TEST_TOKEN }}" - echo $TOKEN + echo "TOKEN=${{ secrets.TEST_TOKEN }}" > $GITHUB_ENV + - name: Print the token + run: | + echo "The token is: ${{ secrets.TEST_TOKEN }}" # - name: Download artifacts # uses: actions/download-artifact@v3 # with: