Skip to content

Commit e86c2bb

Browse files
committed
Added test for creating releases
1 parent 00795f5 commit e86c2bb

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/release-test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Release Test
2+
on:
3+
workflow_dispatch:
4+
jobs:
5+
make-release:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout code
9+
uses: actions/checkout@v2
10+
- name: Create release
11+
id: create-release
12+
uses: actions/create-release@v1
13+
env:
14+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
15+
with:
16+
tag_name: v${{github.run_number}}
17+
release_Name: Test Release v${{github.run_number}}
18+
body: TODO
19+
draft: true
20+
prerelease: false
21+
- name: Output release info
22+
run: |
23+
echo Release id: ${{steps.create-release.outputs.id}}
24+
echo Release URL: ${{steps.create-release.outputs.html_url}}
25+
echo Release upload URL: ${{steps.create-release.outputs.upload_url}}

0 commit comments

Comments
 (0)