Skip to content

Commit 291f981

Browse files
committed
Release
1 parent 8a40e43 commit 291f981

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: INTSUM CI
33
on:
44
push:
55
branches: [main]
6+
tags:
7+
- "v*"
68
pull_request:
79
branches: [main]
810

@@ -43,3 +45,16 @@ jobs:
4345
run: sudo apt install -y ./intsum*Linux.deb
4446
- name: Run test
4547
run: bash .github/scripts/test.sh
48+
49+
release:
50+
runs-on: ubuntu-20.04
51+
needs: [build_linux, test_linux]
52+
if: ${{ github.ref_type == 'tag' }}
53+
steps:
54+
- name: Download package for Linux
55+
uses: actions/download-artifact@v2
56+
with:
57+
name: build_linux_package
58+
- uses: softprops/action-gh-release@v1
59+
with:
60+
files: "*.deb"

0 commit comments

Comments
 (0)