Skip to content

Commit f41ed37

Browse files
committed
Add GHA workflow for creating release binaries
1 parent 59779cc commit f41ed37

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/release.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build-contribs:
10+
name: Build contribs
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: dlang-community/setup-dlang@v1
15+
with:
16+
compiler: dmd-latest
17+
18+
- name: Build
19+
run: dub build --build=release
20+
21+
- name: Create release
22+
uses: ncipollo/release-action@v1
23+
with:
24+
artifacts: contribs
25+
artifactErrorsFailBuild: true
26+
27+
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)