mirror of
https://github.com/mihonapp/mihon-preview.git
synced 2024-12-27 11:28:21 +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
|
wrapper-cache-enabled: true
|
||||||
dependencies-cache-enabled: true
|
dependencies-cache-enabled: true
|
||||||
configuration-cache-enabled: true
|
configuration-cache-enabled: true
|
||||||
- name: Set COMMIT_COUNT
|
- name: Set env variables
|
||||||
run: echo "::set-env name=COMMIT_COUNT::$(git rev-list --count HEAD)"
|
run: |
|
||||||
- name: Set CURRENT_SHA
|
set -x
|
||||||
run: echo "::set-env name=CURRENT_SHA::$(git rev-parse --short HEAD)"
|
echo "COMMIT_COUNT=$(git rev-list --count HEAD)" >> $GITHUB_ENV
|
||||||
|
echo "CURRENT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Create GitHub release
|
- name: Create GitHub release
|
||||||
id: create_release
|
id: create_release
|
||||||
|
Loading…
Reference in New Issue
Block a user