diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1381da144..0638a5c4a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Derive appropriate SHAs for base and head for `nx affected` commands @@ -49,7 +49,7 @@ jobs: run: rsync -a . ./dist --include="*/" --include="/docs/dist/**" --include="/packages/pdk/dist/**" --exclude="*" --prune-empty-dirs - name: Upload artifact if: ${{ steps.git_remote.outputs.latest_commit == github.sha }} - uses: actions/upload-artifact@v2.1.1 + uses: actions/upload-artifact@v4.4.0 with: name: build-artifact path: dist @@ -61,11 +61,11 @@ jobs: contents: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: node-version: 14.x - name: Download build artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: build-artifact path: dist @@ -88,13 +88,13 @@ jobs: if: needs.release.outputs.latest_commit == github.sha && needs.release.outputs.skip_release != 'true' steps: - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 - name: Install pnpm run: npm install -g pnpm - name: Download build artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: build-artifact path: dist @@ -102,7 +102,7 @@ jobs: working-directory: dist/packages/pdk run: pnpm --package publib@latest dlx publib-npm env: - NPM_CONFIG_PROVENANCE: "true" + NPM_CONFIG_PROVENANCE: "true" NPM_DIST_TAG: latest NPM_REGISTRY: registry.npmjs.org NPM_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -129,18 +129,18 @@ jobs: contents: read if: needs.release.outputs.latest_commit == github.sha && needs.release.outputs.skip_release != 'true' steps: - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v4 with: distribution: temurin java-version: 11.x - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 - name: Install pnpm run: npm install -g pnpm - name: Download build artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: build-artifact path: dist @@ -178,16 +178,16 @@ jobs: if: needs.release.outputs.latest_commit == github.sha && needs.release.outputs.skip_release != 'true' steps: - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 - name: Install pnpm run: npm install -g pnpm - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 with: python-version: 3.x - name: Download build artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: build-artifact path: dist @@ -219,12 +219,12 @@ jobs: if: needs.release.outputs.latest_commit == github.sha steps: - name: Check out - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v4 with: ref: gh-pages fetch-depth: 0 - name: Download build artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: build-artifact path: dist