From 386c6abc37c54c1b5f33ce6b95cfab4a0d1d07db Mon Sep 17 00:00:00 2001 From: lucas cordeiro da Silva Date: Mon, 31 Jul 2023 01:36:49 -0300 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a922e41..c1a1ccb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,10 +7,18 @@ jobs: main: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: nrwl/nx-set-shas@v3 + + - name: Derive appropriate SHAs for base and head for `nx affected` commands + id: setSHAs + uses: nrwl/nx-set-shas@v3 + + - run: | + echo "BASE: ${{ steps.setSHAs.outputs.base }}" + echo "HEAD: ${{ steps.setSHAs.outputs.head }}" + - run: yarn nx run-many release --parallel=1 env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}