diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/actions/github-release/main.js | 1 | ||||
-rw-r--r-- | .github/workflows/release.yaml | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/.github/actions/github-release/main.js b/.github/actions/github-release/main.js index b499cd0fd..a08e59a91 100644 --- a/.github/actions/github-release/main.js +++ b/.github/actions/github-release/main.js | |||
@@ -70,6 +70,7 @@ async function runOnce() { | |||
70 | repo, | 70 | repo, |
71 | name, | 71 | name, |
72 | tag_name: name, | 72 | tag_name: name, |
73 | target_commitish: sha, | ||
73 | prerelease: name === 'nightly', | 74 | prerelease: name === 'nightly', |
74 | }); | 75 | }); |
75 | 76 | ||
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1ae8ed1b6..c1d56a8e0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml | |||
@@ -79,16 +79,16 @@ jobs: | |||
79 | with: | 79 | with: |
80 | node-version: 12.x | 80 | node-version: 12.x |
81 | 81 | ||
82 | - run: echo "::set-env name=TAG::$(date --iso --utc)" | 82 | - run: echo "TAG=$(date --iso --utc)" >> $GITHUB_ENV |
83 | if: github.ref == 'refs/heads/release' | 83 | if: github.ref == 'refs/heads/release' |
84 | - run: echo "::set-env name=TAG::nightly" | 84 | - run: echo "TAG=nightly" >> $GITHUB_ENV |
85 | if: github.ref != 'refs/heads/release' | 85 | if: github.ref != 'refs/heads/release' |
86 | - run: 'echo "TAG: $TAG"' | 86 | - run: 'echo "TAG: $TAG"' |
87 | 87 | ||
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)" | 91 | - run: echo "HEAD_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV |
92 | - run: 'echo "HEAD_SHA: $HEAD_SHA"' | 92 | - run: 'echo "HEAD_SHA: $HEAD_SHA"' |
93 | 93 | ||
94 | - uses: actions/download-artifact@v1 | 94 | - uses: actions/download-artifact@v1 |