diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 2b9cb90..5dd1192 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -4,7 +4,14 @@ jobs: build: runs-on: - arduino + env: + PACKAGE_API_TOKEN: ${PACKAGE_API_TOKEN} steps: - - run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY . - - run: .gitea/build.sh - - run: .gitea/publish.sh out/* + - name: check out repository + run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY . + - name: build + run: .gitea/build.sh + - name: publish + env: + PACKAGE_API_TOKEN: ${{ secrets.PACKAGE_API_TOKEN }} + run: .gitea/publish.sh out/*