Skip to content

Commit 27b8a86

Browse files
committed
adding: release action
1 parent 794b789 commit 27b8a86

File tree

2 files changed

+29
-20
lines changed

2 files changed

+29
-20
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v2
15+
16+
- name: Create Source Code Zip
17+
run: zip -r source_code.zip .
18+
working-directory: ${{ github.workspace }}
19+
20+
- name: Create Release
21+
id: create_release
22+
uses: softprops/action-gh-release@v1
23+
if: startsWith(github.ref, 'refs/tags/')
24+
env:
25+
GITHUB_TOKEN: ${{ github.token }}
26+
with:
27+
name: ${{ github.ref_name }}
28+
draft: false
29+
prerelease: false

0 commit comments

Comments
 (0)