Skip to content

Commit 2576378

Browse files
authored
#32 use new output env file (#33)
* #32 use new output env file https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ * bump checkout version
1 parent 81e214f commit 2576378

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
lint:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v2
7+
- uses: actions/checkout@v3
88

99
- name: Get yamllint version
1010
run: yamllint --version

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ jobs:
99
update-semver:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313
- uses: haya14busa/action-update-semver@v1

entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ yamllint "${options[@]}" ${INPUT_FILE_OR_DIR:-.} | tee -a "$LOGFILE"
3535
exitcode=$?
3636

3737
shopt -u globstar
38-
echo "::set-output name=logfile::$(realpath ${LOGFILE})"
38+
echo "logfile=$(realpath ${LOGFILE})" >> "$GITHUB_OUTPUT"
3939

4040
exit $exitcode

0 commit comments

Comments
 (0)