From af0c088401ac94bffae0e0c179fba1d1b0b7118d Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Thu, 4 Jan 2024 21:23:21 -0700 Subject: [PATCH] try to publish artifacts --- .gitea/workflows/build.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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/*