token not printed yet
All checks were successful
Run nightly tests / build (push) Successful in 37s
Run nightly tests / nightly-tests-play (push) Successful in 37s
Run short tests / run-tests (push) Successful in 1m19s

This commit is contained in:
2025-05-24 13:06:35 +02:00
parent 23df98f586
commit 1290bdb0fa

View File

@@ -11,20 +11,20 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up Go # - name: Set up Go
uses: actions/setup-go@v4 # uses: actions/setup-go@v4
with: # with:
go-version: '1.23' # go-version: '1.23'
- name: build # - name: build
working-directory: ./src # working-directory: ./src
run: | # run: |
go build # go build
- name: Upload artifacts # - name: Upload artifacts
uses: actions/upload-artifact@v3 # uses: actions/upload-artifact@v3
with: # with:
path: ${{ github.workspace }}/src/home-automation-backend # path: ${{ github.workspace }}/src/home-automation-backend
name: home-automation-backend_build_${{ github.run_number }} # name: home-automation-backend_build_${{ github.run_number }}
retention-days: 1 # retention-days: 1
nightly-tests-play: nightly-tests-play:
runs-on: [ubuntu-latest, cloud] runs-on: [ubuntu-latest, cloud]
@@ -32,8 +32,10 @@ jobs:
steps: steps:
- name: Test if I can get the token - name: Test if I can get the token
run: | run: |
echo "TOKEN=${{ secrets.TEST_TOKEN }}" echo "TOKEN=${{ secrets.TEST_TOKEN }}" > $GITHUB_ENV
echo $TOKEN - name: Print the token
run: |
echo "The token is: ${{ secrets.TEST_TOKEN }}"
# - name: Download artifacts # - name: Download artifacts
# uses: actions/download-artifact@v3 # uses: actions/download-artifact@v3
# with: # with: