#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
This commit is contained in:
Ilir Bekteshi 2022-10-14 22:28:41 +02:00 committed by GitHub
parent 81e214fd48
commit 2576378a8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Get yamllint version
run: yamllint --version

View file

@ -9,5 +9,5 @@ jobs:
update-semver:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: haya14busa/action-update-semver@v1

View file

@ -35,6 +35,6 @@ yamllint "${options[@]}" ${INPUT_FILE_OR_DIR:-.} | tee -a "$LOGFILE"
exitcode=$?
shopt -u globstar
echo "::set-output name=logfile::$(realpath ${LOGFILE})"
echo "logfile=$(realpath ${LOGFILE})" >> "$GITHUB_OUTPUT"
exit $exitcode