Skip to content

Commit

Permalink
Merge pull request #516 from Homebrew/node20
Browse files Browse the repository at this point in the history
pre/post-build: use Node 20 actions
  • Loading branch information
Bo98 committed Mar 27, 2024
2 parents 4711ad8 + 8fbae67 commit d1ea383
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions post-build/action.yml
Expand Up @@ -49,7 +49,7 @@ runs:

- name: Upload logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v3-node20
with:
name: logs-${{ inputs.runner }}
path: ${{ inputs.logs-directory }}
Expand All @@ -63,14 +63,14 @@ runs:

- name: Upload failed bottles
if: always() && steps.bottles.outputs.failures > 0
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v3-node20
with:
name: bottles-${{ inputs.runner }}
path: ${{ inputs.bottles-directory }}/failed

- name: Upload list of successfully tested dependents
if: always() && !fromJson(inputs.upload-bottles) && steps.bottles.outputs.dependents > 0
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v3-node20
with:
name: dependents
path: ${{ inputs.bottles-directory }}/tested-dependents-*.txt
Expand All @@ -87,7 +87,7 @@ runs:

- name: Upload bottles
if: always() && fromJson(inputs.upload-bottles) && (steps.bottles.outputs.count > 0 || steps.bottles.outputs.skipped > 0)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v3-node20
with:
name: bottles
path: ${{ inputs.bottles-directory }}
Expand Down
4 changes: 2 additions & 2 deletions pre-build/action.yml
Expand Up @@ -42,7 +42,7 @@ runs:
- name: Cache Homebrew Bundler RubyGems
id: cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ env.cache_key_prefix }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
Expand All @@ -67,7 +67,7 @@ runs:

- name: Download bottles from GitHub Actions
if: fromJson(inputs.download-bottles)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v3-node20
with:
name: bottles
path: ${{ inputs.bottles-directory }}

0 comments on commit d1ea383

Please sign in to comment.