You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2024/01/12 11:16:35 UTC
(camel-website) branch main updated: fix: preview workflow to use newer versions
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/main by this push:
new fd793d0b fix: preview workflow to use newer versions
fd793d0b is described below
commit fd793d0b9f9015e72c52dfafab7590f9bd6a60de
Author: Zoran Regvart <zo...@regvart.com>
AuthorDate: Fri Jan 12 12:16:26 2024 +0100
fix: preview workflow to use newer versions
The code was updated for the new versions but the versions were not
updated.
---
.github/workflows/preview.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml
index 25238876..8b347d9e 100644
--- a/.github/workflows/preview.yaml
+++ b/.github/workflows/preview.yaml
@@ -31,9 +31,9 @@ jobs:
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
- name: Download pull request artifact
- uses: actions/github-script@v4
+ uses: actions/github-script@v7
with:
script: |
const artifacts = await github.rest.actions.listWorkflowRunArtifacts({
@@ -65,7 +65,7 @@ jobs:
DEPLOY_URL=$(yarn preview:netlify --alias="pr-${PR_NUMBER}" --message="Preview for ${PR_URL}" --json 2> /dev/null |jq -r .deploy_url)
echo "DEPLOY_URL=${DEPLOY_URL}" >> $GITHUB_ENV
echo "ISSUE_NUMBER=${PR_NUMBER}" >> $GITHUB_ENV
- - uses: actions/github-script@v3
+ - uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |