From f41ed379930d45a9875b06896fcae318b95bf9b0 Mon Sep 17 00:00:00 2001 From: Iain Buclaw Date: Sun, 28 Jan 2024 21:10:25 +0100 Subject: [PATCH] Add GHA workflow for creating release binaries --- .github/workflows/release.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..1a0f8b8 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,27 @@ +name: release + +on: + push: + tags: + - '*' + +jobs: + build-contribs: + name: Build contribs + + steps: + - uses: actions/checkout@v3 + - uses: dlang-community/setup-dlang@v1 + with: + compiler: dmd-latest + + - name: Build + run: dub build --build=release + + - name: Create release + uses: ncipollo/release-action@v1 + with: + artifacts: contribs + artifactErrorsFailBuild: true + + runs-on: ubuntu-latest