diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2020-05-25 16:29:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-25 16:29:24 +0200 |
| commit | cdb507e467cf5d4506eb8e08b2121c0503f75ca0 (patch) | |
| tree | a02d2f2381bc057189fdf46b4e5052c4afb226e1 | |
| parent | 30f058dfea5d3b8ec558e49967787927752364aa (diff) | |
| parent | 5e66045a21aa575b2712eee56e7ebdd90965260f (diff) | |
| download | rust-cdb507e467cf5d4506eb8e08b2121c0503f75ca0.tar.gz rust-cdb507e467cf5d4506eb8e08b2121c0503f75ca0.zip | |
Merge pull request #4612 from matklad/fix-tag
Try fixing release tags
| -rw-r--r-- | .github/actions/github-release/main.js | 2 | ||||
| -rw-r--r-- | .github/workflows/release.yaml | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.github/actions/github-release/main.js b/.github/actions/github-release/main.js index 2c7eedbe290..b499cd0fd83 100644 --- a/.github/actions/github-release/main.js +++ b/.github/actions/github-release/main.js @@ -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}`); diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 29ac895493a..11c6f0ac3f5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 |
