Skip to content

Commit bb38a4f

Browse files
committed
ci: Added release.yml to run in github actions
1 parent 2403fd6 commit bb38a4f

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/release.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: DVSim Release
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
release:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Repository checkout
16+
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Install python-semantic-release package
21+
run: python3 -m pip install python-semantic-release
22+
23+
- name: Versioning and Publishing the release
24+
env:
25+
# REQUIRED: Provides authentication to create/push tags
26+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
run: |
28+
semantic-release version --no-changelog
29+
semantic-release publish

0 commit comments

Comments
 (0)