aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/actions/github-release/main.js2
-rw-r--r--.github/workflows/release.yaml3
2 files changed, 4 insertions, 1 deletions
diff --git a/.github/actions/github-release/main.js b/.github/actions/github-release/main.js
index 2c7eedbe2..b499cd0fd 100644
--- a/.github/actions/github-release/main.js
+++ b/.github/actions/github-release/main.js
@@ -16,7 +16,7 @@ async function runOnce() {
16 const slug = process.env.GITHUB_REPOSITORY; 16 const slug = process.env.GITHUB_REPOSITORY;
17 const owner = slug.split('/')[0]; 17 const owner = slug.split('/')[0];
18 const repo = slug.split('/')[1]; 18 const repo = slug.split('/')[1];
19 const sha = process.env.GITHUB_SHA; 19 const sha = process.env.HEAD_SHA;
20 20
21 core.info(`files: ${files}`); 21 core.info(`files: ${files}`);
22 core.info(`name: ${name}`); 22 core.info(`name: ${name}`);
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 29ac89549..11c6f0ac3 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -88,6 +88,9 @@ jobs:
88 - name: Checkout repository 88 - name: Checkout repository
89 uses: actions/checkout@v2 89 uses: actions/checkout@v2
90 90
91 - run: echo "::set-env name=HEAD_SHA::$(git rev-parse HEAD)"
92 - run: 'echo "HEAD_SHA: $HEAD_SHA"'
93
91 - uses: actions/download-artifact@v1 94 - uses: actions/download-artifact@v1
92 with: 95 with:
93 name: dist-macos-latest 96 name: dist-macos-latest