Skip to content

Commit e566e5e

Browse files
committed
2 parents 170544e + 3f97a95 commit e566e5e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/main.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
name: Create release
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
tags:
9+
- '*.*.*'
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
18+
- name: Zip Folder
19+
run: zip -r ${{ github.event.repository.name }}.zip .
20+
21+
- name: Release
22+
uses: softprops/action-gh-release@v1
23+
if: startsWith(github.ref, 'refs/tags/')
24+
with:
25+
files: ${{ github.event.repository.name }}.zip
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)