From 0acf481f0e7a14cd5405d93d69ce60d945417b01 Mon Sep 17 00:00:00 2001 From: Julien Vincent Date: Wed, 22 Nov 2023 09:38:52 +1100 Subject: [PATCH] Allow building artifacts in feature branches --- .github/workflows/release.yaml | 5 +++-- justfile | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bfe01c5..054e574 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -2,8 +2,8 @@ name: Release on: push: - tags: - - 'v*' + pull_request: + workflow_dispatch: jobs: build: @@ -68,6 +68,7 @@ jobs: release: runs-on: ubuntu-latest needs: [build] + if: ${{ github.ref_type == 'tag' && startsWith(github.ref_name, 'v') }} steps: - uses: actions/checkout@v3 diff --git a/justfile b/justfile index 65f7c18..21ee317 100644 --- a/justfile +++ b/justfile @@ -22,4 +22,4 @@ build-and-run: build java --enable-preview -jar target/cli.jar run *args: - clojure -m k16.kl.cli {{args}} + clojure -M -m k16.kl.cli {{args}}