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 }} +