mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 01:17:36 +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
|
- name: Get nightly version to use
|
||||||
id: nightly
|
id: nightly
|
||||||
shell: bash
|
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
|
- name: Install WASM toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
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 commit -m "Update nightly"
|
||||||
git push -u origin $(date +"nightly-%Y-%m")
|
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
|
- name: Pull Request
|
||||||
uses: actions/github-script@v6
|
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
|
- name: Get nightly version to use
|
||||||
id: nightly
|
id: nightly
|
||||||
run: echo "::set-output name=version::$(cat .github/nightly-version)"
|
run: echo "version=$(cat .github/nightly-version)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Build Dependencies
|
- name: Build Dependencies
|
||||||
uses: ./.github/actions/build-dependencies
|
uses: ./.github/actions/build-dependencies
|
||||||
|
@ -49,7 +49,7 @@ jobs:
|
||||||
|
|
||||||
- name: Get nightly version to use
|
- name: Get nightly version to use
|
||||||
id: nightly
|
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
|
# Doesn't grab the cache as it's not needed
|
||||||
- name: Install rustfmt
|
- name: Install rustfmt
|
||||||
|
|
Loading…
Reference in a new issue