1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

update release github action (#8036)

- following this error message
  Error: Unable to process command '::set-env name=TRAVIS_TAG::3.0.0' successfully.
  Error: The `set-env` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
- this guide:
  https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#environment-files
This commit is contained in:
david gauchard 2021-05-16 03:00:15 +02:00 committed by GitHub
parent 7b6baf0fed
commit 75e911354e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,12 +36,13 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Set GIT tag name
run: |
echo "::set-env name=TRAVIS_TAG::$(git describe --exact-match --tags)"
echo "TRAVIS_TAG=$(git describe --exact-match --tags)" >> $GITHUB_ENV
- name: Deploy updated JSON
env:
TRAVIS_BUILD_DIR: ${{ github.workspace }}