Skip to content

Commit

Permalink
chore(ci): bump actions in GH release workflow to latest versions (#827)
Browse files Browse the repository at this point in the history
Co-authored-by: bweigel <[email protected]>
  • Loading branch information
bweigel and bweigel authored Sep 23, 2024
1 parent 33eabfd commit d0bcc2d
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -88,21 +88,21 @@ 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
- name: Release
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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d0bcc2d

Please sign in to comment.