use $GITHUB_ENV instead of set-env (#3024)
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
This commit is contained in:
parent
944f6b6e1d
commit
72103240d1
3 changed files with 33 additions and 15 deletions
16
.github/workflows/beta_artifacts.yml
vendored
16
.github/workflows/beta_artifacts.yml
vendored
|
@ -18,7 +18,9 @@ jobs:
|
|||
- uses: actions/checkout@722adc6
|
||||
- uses: chrislennon/action-aws-cli@f0f8671
|
||||
- name: tag
|
||||
run: echo "::set-env name=TAG::`git describe --tags $GITHUB_SHA`"
|
||||
run: |
|
||||
TAG=`git describe --tags $GITHUB_SHA`
|
||||
echo "TAG=$TAG" >> $GITHUB_ENV
|
||||
- name: Checkout Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Fetch Deps
|
||||
|
@ -38,7 +40,9 @@ jobs:
|
|||
- uses: actions/checkout@722adc6
|
||||
- uses: chrislennon/action-aws-cli@f0f8671
|
||||
- name: tag
|
||||
run: echo "::set-env name=TAG::`git describe --tags $GITHUB_SHA`"
|
||||
run: |
|
||||
TAG=`git describe --tags $GITHUB_SHA`
|
||||
echo "TAG=$TAG" >> $GITHUB_ENV
|
||||
- name: Checkout Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Fetch Deps
|
||||
|
@ -58,7 +62,9 @@ jobs:
|
|||
- uses: actions/checkout@722adc6
|
||||
- uses: chrislennon/action-aws-cli@f0f8671
|
||||
- name: tag
|
||||
run: echo "::set-env name=TAG::`git describe --tags $GITHUB_SHA`"
|
||||
run: |
|
||||
TAG=`git describe --tags $GITHUB_SHA`
|
||||
echo "TAG=$TAG" >> $GITHUB_ENV
|
||||
- name: Checkout Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Fetch Deps
|
||||
|
@ -75,8 +81,8 @@ jobs:
|
|||
- uses: chrislennon/action-aws-cli@f0f8671
|
||||
- name: tag
|
||||
run: |
|
||||
$TRAVIS_TAG=git describe --tags $GITHUB_SHA
|
||||
echo "::set-env name=TAG::$TRAVIS_TAG"
|
||||
$TAG=git describe --tags $GITHUB_SHA
|
||||
echo "TAG=$TAG" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
||||
- name: Checkout Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Fetch Deps
|
||||
|
|
16
.github/workflows/live_artifacts.yml
vendored
16
.github/workflows/live_artifacts.yml
vendored
|
@ -17,7 +17,9 @@ jobs:
|
|||
- uses: actions/checkout@722adc6
|
||||
- uses: chrislennon/action-aws-cli@f0f8671
|
||||
- name: tag
|
||||
run: echo "::set-env name=TAG::`git describe --tags $GITHUB_SHA`"
|
||||
run: |
|
||||
TAG=`git describe --tags $GITHUB_SHA`
|
||||
echo "TAG=$TAG" >> $GITHUB_ENV
|
||||
- name: Checkout Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Fetch Deps
|
||||
|
@ -37,7 +39,9 @@ jobs:
|
|||
- uses: actions/checkout@722adc6
|
||||
- uses: chrislennon/action-aws-cli@f0f8671
|
||||
- name: tag
|
||||
run: echo "::set-env name=TAG::`git describe --tags $GITHUB_SHA`"
|
||||
run: |
|
||||
TAG=`git describe --tags $GITHUB_SHA`
|
||||
echo "TAG=$TAG" >> $GITHUB_ENV
|
||||
- name: Checkout Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Fetch Deps
|
||||
|
@ -57,7 +61,9 @@ jobs:
|
|||
- uses: actions/checkout@722adc6
|
||||
- uses: chrislennon/action-aws-cli@f0f8671
|
||||
- name: tag
|
||||
run: echo "::set-env name=TAG::`git describe --tags $GITHUB_SHA`"
|
||||
run: |
|
||||
TAG=`git describe --tags $GITHUB_SHA`
|
||||
echo "TAG=$TAG" >> $GITHUB_ENV
|
||||
- name: Checkout Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Fetch Deps
|
||||
|
@ -74,8 +80,8 @@ jobs:
|
|||
- uses: chrislennon/action-aws-cli@f0f8671
|
||||
- name: tag
|
||||
run: |
|
||||
$TRAVIS_TAG=git describe --tags $GITHUB_SHA
|
||||
echo "::set-env name=TAG::$TRAVIS_TAG"
|
||||
$TAG=git describe --tags $GITHUB_SHA
|
||||
echo "TAG=$TAG" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
||||
- name: Checkout Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Fetch Deps
|
||||
|
|
16
.github/workflows/test_network_artifacts.yml
vendored
16
.github/workflows/test_network_artifacts.yml
vendored
|
@ -17,7 +17,9 @@ jobs:
|
|||
- uses: actions/checkout@722adc6
|
||||
- uses: chrislennon/action-aws-cli@f0f8671
|
||||
- name: tag
|
||||
run: echo "::set-env name=TAG::`git describe --tags $GITHUB_SHA`"
|
||||
run: |
|
||||
TAG=`git describe --tags $GITHUB_SHA`
|
||||
echo "TAG=$TAG" >> $GITHUB_ENV
|
||||
- name: Checkout Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Fetch Deps
|
||||
|
@ -37,7 +39,9 @@ jobs:
|
|||
- uses: actions/checkout@722adc6
|
||||
- uses: chrislennon/action-aws-cli@f0f8671
|
||||
- name: tag
|
||||
run: echo "::set-env name=TAG::`git describe --tags $GITHUB_SHA`"
|
||||
run: |
|
||||
TAG=`git describe --tags $GITHUB_SHA`
|
||||
echo "TAG=$TAG" >> $GITHUB_ENV
|
||||
- name: Checkout Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Fetch Deps
|
||||
|
@ -57,7 +61,9 @@ jobs:
|
|||
- uses: actions/checkout@722adc6
|
||||
- uses: chrislennon/action-aws-cli@f0f8671
|
||||
- name: tag
|
||||
run: echo "::set-env name=TAG::`git describe --tags $GITHUB_SHA`"
|
||||
run: |
|
||||
TAG=`git describe --tags $GITHUB_SHA`
|
||||
echo "TAG=$TAG" >> $GITHUB_ENV
|
||||
- name: Checkout Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Fetch Deps
|
||||
|
@ -74,8 +80,8 @@ jobs:
|
|||
- uses: chrislennon/action-aws-cli@f0f8671
|
||||
- name: tag
|
||||
run: |
|
||||
$TRAVIS_TAG=git describe --tags $GITHUB_SHA
|
||||
echo "::set-env name=TAG::$TRAVIS_TAG"
|
||||
$TAG=git describe --tags $GITHUB_SHA
|
||||
echo "TAG=$TAG" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
||||
- name: Checkout Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Fetch Deps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue