Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to using GITHUB_OUTPUT from set-output #1079

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build_nilrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
id: submodules
run: |
git submodule update --init --recursive
echo "::set-output name=grpc-commit::$(git rev-parse --short @:./third_party/grpc)"
maxxboehme marked this conversation as resolved.
Show resolved Hide resolved
echo "grpc-commit=$(git rev-parse --short @:./third_party/grpc)" >> $GITHUB_OUTPUT

- name: Cache Host OS gRPC Support
uses: actions/cache@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ jobs:
- name: "Get previous tag"
id: previoustag
run: >-
echo "::set-output name=tag::$(
echo "tag=$(
git tag --list --sort=-version:refname | grep '^\(v[0-9]\+.[0-9]\+.[0-9]\+\)$' | head -1
)"
)" >> $GITHUB_OUTPUT

- name: "Get next version"
id: semvers
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/validate_linux_rt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@ jobs:
- name: Get the latest tag
id: latesttag
run: >-
echo "::set-output name=tag::$(
echo "tag=$(
git tag --list --sort=-version:refname | grep '^\(v[0-9]\+.[0-9]\+.[0-9]\+\)$' | head -1
)"
)" >> $GITHUB_OUTPUT

- name: Get latest tag without leading v
id: latesttagwithoutv
run: >-
echo "::set-output name=tag::$(
echo "tag=$(
git tag --list --sort=-version:refname | grep '^\(v[0-9]\+.[0-9]\+.[0-9]\+\)$' | head -1 | cut -c2-
)"
)" >> $GITHUB_OUTPUT

- name: Get the second latest tag
id: secondlatesttag
run: >-
echo "::set-output name=tag::$(
echo "tag=$(
git tag --list --sort=-version:refname | grep '^\(v[0-9]\+.[0-9]\+.[0-9]\+\)$' | sed '1d' | head -1
)"
)" >> $GITHUB_OUTPUT

- name: Fail if new tag is not latest tag
if: ${{ github.ref_name != steps.latesttag.outputs.tag}}
Expand All @@ -59,7 +59,7 @@ jobs:
run: |
raw=$(git branch -r --contains ${{ github.ref }})
branch_sans_origin=${raw/origin\/}
echo ::set-output name=branch::$branch_sans_origin
echo branch=$branch_sans_origin >> $GITHUB_OUTPUT

- name: Create GitHub Issue
if: ${{ env.SHOULD_UPDATE_LINUX_RT == 'True'}}
Expand Down
Loading