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

.github: replace deprecated set-output commands #1296

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

tklauser
Copy link
Member

See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Converted using:

sed -i \
  '/::set-output/ {
    s/::set-output name=/"/;
    s/::/=/;
    s/$/" >> $GITHUB_OUTPUT/;
  }' \
.github/workflows/*.yaml

See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Converted using:

    sed -i \
      '/::set-output/ {
        s/::set-output name=/"/;
        s/::/=/;
        s/$/" >> $GITHUB_OUTPUT/;
      }' \
    .github/workflows/*.yaml

Signed-off-by: Tobias Klauser <[email protected]>
@tklauser tklauser requested review from a team as code owners December 13, 2022 13:10
@tklauser tklauser requested a review from nbusseneau December 13, 2022 13:11
@tklauser tklauser temporarily deployed to ci December 13, 2022 13:11 — with GitHub Actions Inactive
Copy link
Member

@nbusseneau nbusseneau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes LGTM.

@tklauser tklauser force-pushed the pr/tklauser/gha-replace-set-output branch from 139ba51 to 66860bb Compare December 14, 2022 10:29
@tklauser tklauser temporarily deployed to ci December 14, 2022 10:30 — with GitHub Actions Inactive
@tklauser
Copy link
Member Author

CI passed with test commit and the PR got approved. Removing test commit and merging.

@tklauser tklauser merged commit 6c80aac into master Dec 14, 2022
@tklauser tklauser deleted the pr/tklauser/gha-replace-set-output branch December 14, 2022 10:30
sayboras added a commit to sayboras/cilium that referenced this pull request Dec 29, 2022
The changes are done by below command, thanks to @tklauser in
cilium/cilium-cli#1296

```bash
sed -i \
  '/::set-output/ {
    s/::set-output name=//;
    s/::/=/;
    s/$/ >> $GITHUB_OUTPUT/;
  }' \
.github/workflows/*.yaml
```

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Signed-off-by: Tam Mach <[email protected]>
aditighag pushed a commit to cilium/cilium that referenced this pull request Jan 11, 2023
The changes are done by below command, thanks to @tklauser in
cilium/cilium-cli#1296

```bash
sed -i \
  '/::set-output/ {
    s/::set-output name=//;
    s/::/=/;
    s/$/ >> $GITHUB_OUTPUT/;
  }' \
.github/workflows/*.yaml
```

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Signed-off-by: Tam Mach <[email protected]>
sayboras added a commit to sayboras/cilium that referenced this pull request Jan 26, 2023
The changes are done by below command, thanks to @tklauser in
cilium/cilium-cli#1296

```bash
sed -i \
  '/::set-output/ {
    s/::set-output name=//;
    s/::/=/;
    s/$/ >> $GITHUB_OUTPUT/;
  }' \
.github/workflows/*.yaml
```

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Relates: cilium#22890
Signed-off-by: Tam Mach <[email protected]>
sayboras added a commit to sayboras/cilium that referenced this pull request Jan 26, 2023
The changes are done by below command, thanks to @tklauser in
cilium/cilium-cli#1296

```bash
sed -i \
  '/::set-output/ {
    s/::set-output name=//;
    s/::/=/;
    s/$/ >> $GITHUB_OUTPUT/;
  }' \
.github/workflows/*.yaml
```

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Relates: cilium#22890
Signed-off-by: Tam Mach <[email protected]>
aanm pushed a commit to cilium/cilium that referenced this pull request Jan 26, 2023
The changes are done by below command, thanks to @tklauser in
cilium/cilium-cli#1296

```bash
sed -i \
  '/::set-output/ {
    s/::set-output name=//;
    s/::/=/;
    s/$/ >> $GITHUB_OUTPUT/;
  }' \
.github/workflows/*.yaml
```

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Relates: #22890
Signed-off-by: Tam Mach <[email protected]>
qmonnet pushed a commit to cilium/cilium that referenced this pull request Jan 31, 2023
The changes are done by below command, thanks to @tklauser in
cilium/cilium-cli#1296

```bash
sed -i \
  '/::set-output/ {
    s/::set-output name=//;
    s/::/=/;
    s/$/ >> $GITHUB_OUTPUT/;
  }' \
.github/workflows/*.yaml
```

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Relates: #22890
Signed-off-by: Tam Mach <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants