Skip to content

Commit 5fbc3e2

Browse files
committed
ci: github actions for release
1 parent 7eb7563 commit 5fbc3e2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Release job
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*"
7+
8+
jobs:
9+
linux-compile:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
- name: Creating zip file
15+
run: zip -r module-leaflet.zip ./* -x "README.md"
16+
- name: Release
17+
uses: softprops/action-gh-release@v1
18+
if: startsWith(github.ref, 'refs/tags/')
19+
with:
20+
files: module-leaflet.zip

0 commit comments

Comments
 (0)