Skip to content

Commit

Permalink
Merge pull request #141 from arunsathiya/master
Browse files Browse the repository at this point in the history
ci: Use GITHUB_OUTPUT envvar instead of set-output command
  • Loading branch information
VenelinBakalov authored Jun 19, 2024
2 parents 2fe4ece + 0b3978c commit 9cef1db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ jobs:
fi
npm version --no-git-tag-version $VERSION_STRING
echo "::set-output name=version_build::${VERSION_STRING}+${RUN_NUMBER}"
echo "version_build=${VERSION_STRING}+${RUN_NUMBER}" >> "$GITHUB_OUTPUT"
- name: Get npm cache directory
id: npm-cache-dir
run: |
echo "::set-output name=dir::$(npm config get cache)"
echo "dir=$(npm config get cache)" >> "$GITHUB_OUTPUT"
- uses: actions/cache@v2
id: npm-cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
id: version_step
run: |
PACKAGE_VERSION=$(node -p "require('./package.json').version")
echo "::set-output name=version::${PACKAGE_VERSION}"
echo "version=${PACKAGE_VERSION}" >> "$GITHUB_OUTPUT"
- name: Install dependencies
run: "npm ci"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:

- id: get-commit-info
run: |
echo "::set-output name=author::$(git log -1 --pretty=format:'%an <%ae>')"
echo "::set-output name=message::$(git show -s --format=%B)"
echo "author=$(git log -1 --pretty=format:'%an <%ae>')" >> "$GITHUB_OUTPUT"
echo "message=$(git show -s --format=%B)" >> "$GITHUB_OUTPUT"
- run: git clone https://[email protected]/vmware/vrealize-developer-tools.wiki.git /tmp/wiki-repo
env:
Expand Down

0 comments on commit 9cef1db

Please sign in to comment.