Merge pull request #4612 from matklad/fix-tag

Try fixing release tags
This commit is contained in:
Aleksey Kladov 2020-05-25 16:29:24 +02:00 committed by GitHub
commit cdb507e467
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 owner = slug.split('/')[0];
const repo = slug.split('/')[1];
const sha = process.env.GITHUB_SHA;
const sha = process.env.HEAD_SHA;
core.info(`files: ${files}`);
core.info(`name: ${name}`);

View file

@ -88,6 +88,9 @@ jobs:
- name: Checkout repository
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
with:
name: dist-macos-latest