From f1cf8bab6dd19aaf792d07ad95ac79be953a478d Mon Sep 17 00:00:00 2001 From: John McBride Date: Wed, 27 Sep 2023 15:17:20 -0600 Subject: [PATCH] fix: Uses correct generated token when checking out cli repo in release fix: correct spacing in .github/workflows Signed-off-by: John McBride --- .github/workflows/release.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e994b1f..ea68252 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,11 +19,13 @@ jobs: with: app_id: ${{ secrets.OS_GITHUB_APP_ID }} private_key: ${{ secrets.OS_GITHUB_APP_PRIVATE_KEY }} + - name: "☁️ checkout repository" uses: actions/checkout@v3 with: fetch-depth: 0 - + token: ${{ steps.generate_token.outputs.token }} + - name: "🔧 setup node" uses: actions/setup-node@v3 with: @@ -43,7 +45,6 @@ jobs: outputs: release-tag: ${{ steps.semantic-release.outputs.release-tag }} - build: needs: - release @@ -75,3 +76,4 @@ jobs: -ldflags="-X 'github.com/open-sauced/pizza-cli/pkg/utils.Sha=$(git rev-parse HEAD)'" \ -o build/pizza-${{ matrix.goos }}-${{ matrix.goarch }} gh release upload ${{ needs.release.outputs.release-tag }} build/pizza-${{ matrix.goos }}-${{ matrix.goarch }} +