Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ub-actions-deprecating-save-state-and-set-output-commands/ (#6956)

Signed-off-by: moabu <47318409+moabu@users.noreply.github.com>
  • Loading branch information
moabu committed Dec 6, 2023
1 parent cd5dc0e commit f80a6d3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ jobs:
mike alias -u head main
mike alias -u "${STABLE}" stable
mike set-default --push stable
echo ::set-output name=LATEST::${LATEST}
echo ::set-output name=STABLE::${STABLE}
echo "LATEST=${LATEST}" >> $GITHUB_OUTPUT
echo "STABLE=${STABLE}" >> $GITHUB_OUTPUT
# Ensures the current branch is gh-pages,
# Creates / updates the "stable" and "latest" plain text files with the corresponding versions
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/commit-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
id: push_get_commit_message
run: |
git log --format=%B -n 1 HEAD | npx commitlint |& tee -a output.txt
echo "::set-output name=errormsg::$(tr -d "\n\r" < output.txt)"
echo "errormsg=$(tr -d "\n\r" < output.txt)" >> $GITHUB_OUTPUT
git log --format=%B -n 1 HEAD | npx commitlint
continue-on-error: true

Expand All @@ -60,7 +60,7 @@ jobs:
id: pr_get_commit_message
run: |
git log --format=%B -n 1 HEAD^2 | npx commitlint |& tee -a output.txt
echo "::set-output name=errormsg::$(tr -d "\n\r" < output.txt)"
echo "errormsg=$(tr -d "\n\r" < output.txt)" >> $GITHUB_OUTPUT
git log --format=%B -n 1 HEAD^2 | npx commitlint
continue-on-error: true

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docker_build_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
DIRECTORIES_CHANGED=$(gh pr view $pull_number --json files --jq '.files.[].path' | cut -d/ -f1 | sort -u | grep "docker-jans" || echo "$DEFAULT_ALL")
if [[ "$DIRECTORIES_CHANGED" =~ "${{ matrix.docker-images }}" ]]; then
echo "A change in this images directory has occurred"
echo ::set-output name=build::${BUILD}
echo "build=${BUILD}" >> $GITHUB_OUTPUT
fi
- name: Install dependencies
Expand Down Expand Up @@ -131,9 +131,9 @@ jobs:
else
echo "$CN_VERSION"
fi
echo ::set-output name=tags::${TAGS}
echo ::set-output name=build::${BUILD}
echo ::set-output name=dockerfilelocation::${DOCKER_FILE_LOCATION}
echo "tags=${TAGS}" >> $GITHUB_OUTPUT
echo "build=${BUILD}" >> $GITHUB_OUTPUT
echo "dockerfilelocation=${DOCKER_FILE_LOCATION}" >> $GITHUB_OUTPUT
# UPDATE BUILD DATES INSIDE THE DOCKERFILE BEFORE BUILDING THE DEV IMAGES TRIGGERED BY JENKINS
- name: Setup Python 3.7
Expand Down

0 comments on commit f80a6d3

Please sign in to comment.