File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ name : github/release
2+ run-name : " [${{ github.ref_name }}] github/release"
3+
4+
5+ on :
6+ push :
7+ tags :
8+ - ' *'
9+
10+
11+ permissions :
12+ contents : write
13+
14+
15+ jobs :
16+ release :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - id : show_debug_info
20+ name : Show Debug Info
21+ shell : bash
22+ env :
23+ GITHUB_CONTEXT : ${{ toJson(github) }}
24+ run : |
25+ # Show Debug Info
26+ echo "::group::User Info"
27+ id
28+ echo "::endgroup::"
29+ echo "::group::GitHub Context"
30+ echo "${GITHUB_CONTEXT}"
31+ echo "::endgroup::"
32+ echo "::group::Environment Variables"
33+ unset GITHUB_CONTEXT
34+ env | sort
35+ echo "::endgroup::"
36+ echo "::group::Git Info"
37+ which git
38+ git --version
39+ echo "::endgroup::"
40+
41+ - id : checkout_source
42+ name : Checkout Source
43+ # https://github.com/actions/checkout
44+ uses : actions/checkout@v3
45+
46+ - id : create_release
47+ name : Create Release
48+ # https://github.com/softprops/action-gh-release
49+ uses : softprops/action-gh-release@v1
50+ with :
51+ name : " Release ${{ github.ref_name }}"
52+ draft : true
53+ generate_release_notes : true
You can’t perform that action at this time.
0 commit comments