Skip to content

Commit c3166b7

Browse files
committed
Do GitHub release in a GitHub workflow
This replaces the release bits from removed Travis in commit 2f113eb.
1 parent 7e446f7 commit c3166b7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: tag
2+
on:
3+
push:
4+
tags:
5+
# this is a glob, not a regexp
6+
- '[0-9]*'
7+
jobs:
8+
release:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Clone repository
12+
uses: actions/checkout@v2
13+
14+
- name: Build release tarball
15+
run: PUBLISH_TAR=1 tests/run-ubuntu
16+
17+
- name: Create GitHub release
18+
uses: docker://antonyurchenko/git-release:latest
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
CHANGELOG_FILE: "NEWS"
22+
with:
23+
args: umockdev-*.tar.xz

0 commit comments

Comments
 (0)