Skip to content

Commit 06b658b

Browse files
authored
Use environment in make-release.yml (#7782)
* Use environment in make-release * fix typo
1 parent 10afd2c commit 06b658b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/make-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
finish_release:
1313
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/automated_v')
1414
runs-on: ubuntu-latest
15+
environment:
16+
name: Production
17+
url: ${{ steps.publish-github-release.outputs.html_url }}
1518
steps:
1619
- name: Checkout
1720
uses: actions/checkout@v4
@@ -29,6 +32,7 @@ jobs:
2932
shell: bash
3033
- name: Make Tag and Publish Github Release
3134
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 #! 1.14.0
35+
id: publish-github-release
3236
with:
3337
bodyFile: extracted_changelog.md
3438
name: Realm Core v${{ steps.get-version.outputs.version }}

0 commit comments

Comments
 (0)