Try fixing release tags

closes #4319
This commit is contained in:
Aleksey Kladov 2020-05-25 16:26:01 +02:00
parent 30f058dfea
commit 5e66045a21
2 changed files with 4 additions and 1 deletions

View file

@ -16,7 +16,7 @@ async function runOnce() {
const slug = process.env.GITHUB_REPOSITORY; const slug = process.env.GITHUB_REPOSITORY;
const owner = slug.split('/')[0]; const owner = slug.split('/')[0];
const repo = slug.split('/')[1]; const repo = slug.split('/')[1];
const sha = process.env.GITHUB_SHA; const sha = process.env.HEAD_SHA;
core.info(`files: ${files}`); core.info(`files: ${files}`);
core.info(`name: ${name}`); core.info(`name: ${name}`);

View file

@ -88,6 +88,9 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2
- run: echo "::set-env name=HEAD_SHA::$(git rev-parse HEAD)"
- run: 'echo "HEAD_SHA: $HEAD_SHA"'
- uses: actions/download-artifact@v1 - uses: actions/download-artifact@v1
with: with:
name: dist-macos-latest name: dist-macos-latest