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}}