Skip to content

Commit 9932e82

Browse files
authored
Merge pull request #16 from fac/github-output-syntax
Switch to the new method of setting outputs
2 parents 1a5013c + e0e12e6 commit 9932e82

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/workflows/linter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
linter:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
with:
1616
ref: ${{ github.head_ref }}
1717
fetch-depth: 0 # Full history to get a proper list of changed files within `super-linter`
1818

1919
- name: Lint Code Base
20-
uses: github/super-linter@v3
20+
uses: github/super-linter@v4
2121
env:
2222
VALIDATE_ALL_CODEBASE: false
2323
VALIDATE_BASH: true

.github/workflows/reviewdog.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,19 @@ jobs:
55
name: runner / actionlint
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
8+
- uses: actions/checkout@v3
9+
with:
10+
fetch-depth: 0
911
- name: actionlint
10-
uses: reviewdog/action-actionlint@v1.2.0
12+
uses: reviewdog/action-actionlint@v1.33.0
1113
with:
1214
fail_on_error: true
1315
reporter: github-pr-review
1416
shellcheck:
1517
name: runner / shellcheck
1618
runs-on: ubuntu-latest
1719
steps:
18-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v3
1921
- name: shellcheck
2022
uses: reviewdog/action-shellcheck@v1
2123
with:

gem-push-action.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ if ! gem push --key="$KEY" --host "$GEM_HOST" "$GEM_FILE" >push.out; then
8484
exit $gemerr
8585
fi
8686

87-
echo "::set-output name=pushed-version::$( parse-gemspec --version )"
87+
echo "pushed-version=$(parse-gemspec --version)" >> "$GITHUB_OUTPUT"
8888

8989
if [[ $TAG_RELEASE == true ]]; then
9090
tagname="v$( parse-gemspec --version )"

0 commit comments

Comments
 (0)