mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-08 20:09:54 +00:00
Move from set-output to $GITHUB_OUTPUT
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This commit is contained in:
parent
b72af5e185
commit
22713493d8
3 changed files with 4 additions and 4 deletions
|
@ -34,7 +34,7 @@ runs:
|
|||
- name: Get nightly version to use
|
||||
id: nightly
|
||||
shell: bash
|
||||
run: echo "::set-output name=version::$(cat .github/nightly-version)"
|
||||
run: echo "version=$(cat .github/nightly-version)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Install WASM toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
|
|
2
.github/workflows/monthly-nightly-update.yml
vendored
2
.github/workflows/monthly-nightly-update.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
|||
git commit -m "Update nightly"
|
||||
git push -u origin $(date +"nightly-%Y-%m")
|
||||
|
||||
echo "::set-output name=commit::$(git rev-parse HEAD)"
|
||||
echo "name=commit::$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Pull Request
|
||||
uses: actions/github-script@v6
|
||||
|
|
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
|||
|
||||
- name: Get nightly version to use
|
||||
id: nightly
|
||||
run: echo "::set-output name=version::$(cat .github/nightly-version)"
|
||||
run: echo "version=$(cat .github/nightly-version)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build Dependencies
|
||||
uses: ./.github/actions/build-dependencies
|
||||
|
@ -49,7 +49,7 @@ jobs:
|
|||
|
||||
- name: Get nightly version to use
|
||||
id: nightly
|
||||
run: echo "::set-output name=version::$(cat .github/nightly-version)"
|
||||
run: echo "version=$(cat .github/nightly-version)" >> $GITHUB_OUTPUT
|
||||
|
||||
# Doesn't grab the cache as it's not needed
|
||||
- name: Install rustfmt
|
||||
|
|
Loading…
Reference in a new issue