Skip to content

Commit

Permalink
Merge pull request #290 from ftsrg/patch-maven-publish
Browse files Browse the repository at this point in the history
Not using caching builds for maven publish
  • Loading branch information
leventeBajczi authored Aug 1, 2024
2 parents d3c8cf4 + 2b177fd commit 473ec8e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
8 changes: 6 additions & 2 deletions .github/actions/create-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,16 @@ runs:
with:
name: ThetaJars
path: jar/
- run: for i in $(find jar -name "*-all.jar"); do mv -v $i jar/$(basename ${i%-${{steps.value.outputs.version}}-all.jar}.jar); done
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
name: Theta_SV-COMP
path: upload/
- run: for i in $(find jar -name "*-all.jar"); do mv -v $i upload/$(basename ${i%-${{steps.value.outputs.version}}-all.jar}.jar); done
shell: bash
- name: Release
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1.0
with:
files: jar/**/*.jar
files: upload/*
body: ${{steps.value.outputs.message}}
name: ${{steps.value.outputs.tagname}}
tag_name: ${{steps.value.outputs.tagname}}
8 changes: 4 additions & 4 deletions .github/actions/deploy-maven/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ runs:
distribution: temurin
java-version: 17
- name: Publish to Maven Staging
uses: ./.github/actions/cache-build
uses: gradle/gradle-build-action@40b6781dcdec2762ad36556682ac74e31030cfe2 # v2.5.1
env:
OSSRH_PASSWORD: ${{ inputs.OSSRH_PASSWORD }}
OSSRH_USERNAME: ${{ inputs.OSSRH_USERNAME }}
PGP_KEY: ${{ inputs.PGP_KEY }}
PGP_KEY_ID: ${{ inputs.PGP_KEY_ID }}
PGP_PWD: ${{ inputs.PGP_PWD }}
with:
arguments: publish
arguments: publish -x test
- name: Close staging and publish release
uses: ./.github/actions/cache-build
uses: gradle/gradle-build-action@40b6781dcdec2762ad36556682ac74e31030cfe2 # v2.5.1
env:
OSSRH_PASSWORD: ${{ inputs.OSSRH_PASSWORD }}
OSSRH_USERNAME: ${{ inputs.OSSRH_USERNAME }}
with:
arguments: closeAndReleaseRepository
arguments: closeAndReleaseRepository
2 changes: 1 addition & 1 deletion .github/workflows/linux-build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:


deploy-release:
needs: test-linux
needs: [test-linux, create-archives]
if: "${{ github.event.inputs.message != '' && github.ref == 'refs/heads/master' && github.event_name != 'pull_request' }}"
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ buildscript {

allprojects {
group = "hu.bme.mit.theta"
version = "6.3.1"
version = "6.3.2"

apply(from = rootDir.resolve("gradle/shared-with-buildSrc/mirrors.gradle.kts"))
}
Expand Down

0 comments on commit 473ec8e

Please sign in to comment.