mirror of
https://github.com/mihonapp/mihon-preview.git
synced 2024-12-26 19:08:22 +01:00
Replace deprecated set-env command
M: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
This commit is contained in:
parent
9cf5bf1f67
commit
d6c89b2998
9
.github/workflows/build_app.yml
vendored
9
.github/workflows/build_app.yml
vendored
@ -46,10 +46,11 @@ jobs:
|
||||
wrapper-cache-enabled: true
|
||||
dependencies-cache-enabled: true
|
||||
configuration-cache-enabled: true
|
||||
- name: Set COMMIT_COUNT
|
||||
run: echo "::set-env name=COMMIT_COUNT::$(git rev-list --count HEAD)"
|
||||
- name: Set CURRENT_SHA
|
||||
run: echo "::set-env name=CURRENT_SHA::$(git rev-parse --short HEAD)"
|
||||
- name: Set env variables
|
||||
run: |
|
||||
set -x
|
||||
echo "COMMIT_COUNT=$(git rev-list --count HEAD)" >> $GITHUB_ENV
|
||||
echo "CURRENT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
||||
|
||||
- name: Create GitHub release
|
||||
id: create_release
|
||||
|
Loading…
Reference in New Issue
Block a user