Skip to content

Commit 9a57d09

Browse files
author
afaikiac
committed
Add release action
1 parent 5adaeea commit 9a57d09

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v\d+.\d+.\d+'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v3
15+
16+
- name: Create Release
17+
uses: softprops/action-gh-release@v1
18+
if: startsWith(github.ref, 'refs/tags/')
19+
with:
20+
files: |
21+
pyenvx.bash
22+
body: |
23+
`pyenvx.bash` from commit: ${{ github.sha }}
24+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)