diff --git a/.github/workflows/release_binary.yml b/.github/workflows/release_binary.yml index 5fd9ce1..1ca4a13 100644 --- a/.github/workflows/release_binary.yml +++ b/.github/workflows/release_binary.yml @@ -3,7 +3,9 @@ name: Release Binary on: push: tags: - - 'v*' + - 'com.kepler16/kmono@*' + branches: + - master workflow_dispatch: jobs: @@ -33,11 +35,6 @@ jobs: - name: Fetch Tags run: git fetch --tags origin - - uses: actions/setup-java@v2 - with: - distribution: 'temurin' - java-version: 21 - - uses: extractions/setup-just@v1 - uses: DeLaGuardo/setup-clojure@9.5 with: @@ -60,6 +57,9 @@ jobs: "username": "${{ github.actor }}", "password": "${{ secrets.GITHUB_TOKEN }}"}] + - name: Build Uber for Native Image + run: just build-uber ":snapshot?" false + - name: Build Native Image run: just build-native ":snapshot?" false @@ -76,7 +76,7 @@ jobs: release: runs-on: ubuntu-latest needs: [build] - if: ${{ github.ref_type == 'tag' && startsWith(github.ref_name, 'v') }} + if: ${{ github.ref_type == 'tag' && startsWith(github.ref_name, 'com.kepler16/kmono@') }} steps: - uses: actions/checkout@v3 @@ -94,11 +94,6 @@ jobs: mv checksums.txt bin/checksums.txt - - uses: actions/setup-java@v2 - with: - distribution: 'temurin' - java-version: 21 - - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/')