Skip to content

Commit

Permalink
update release github action (esp8266#8036)
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
d-a-v authored May 16, 2021
1 parent 7b6baf0 commit 75e9113
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-to-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 75e9113

Please sign in to comment.