Skip to content
This repository was archived by the owner on Jul 20, 2026. It is now read-only.

Commit 7e3e578

Browse files
committed
Added github release action
1 parent d01aa1b commit 7e3e578

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Create Release Archive
2+
on:
3+
push:
4+
tags:
5+
- 'v*'
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Set filename
11+
id: vars
12+
run: echo ::set-output name=file_name::drawio${GITHUB_REF##*/}.zip
13+
- uses: actions/checkout@master
14+
- name: Archive Release
15+
uses: thedoctor0/zip-release@main
16+
with:
17+
type: 'zip'
18+
filename: ${{ steps.vars.outputs.file_name }}
19+
path: drawio
20+
exclusions: '*.git* /*node_modules/* .editorconfig'
21+
- name: Upload Release
22+
uses: ncipollo/release-action@v1
23+
with:
24+
artifacts: ${{ steps.vars.outputs.file_name }}
25+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)