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