Skip to content

Commit

Permalink
Enhance release job
Browse files Browse the repository at this point in the history
  • Loading branch information
DementevNikita committed May 25, 2022
1 parent 5d7fc03 commit 5f884c7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
release:
concurrency: release
runs-on: self-hosted
runs-on: ubuntu-latest
outputs:
version: ${{steps.get-version.outputs.version}}
steps:
Expand Down Expand Up @@ -46,13 +46,11 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
- name: Build and run tests
- name: Test and build the image
env:
GENERATE_SOURCEMAP: false
CI: false
run: ./gradlew build ${{ github.event.inputs.buildOptions }} --no-daemon --parallel --scan
- name: Build the image
run: ./gradlew jibDockerBuild ${{ github.event.inputs.buildOptions }} --no-daemon --image odd-platform -Pversion=${{ steps.get-version.outputs.version }}
run: ./gradlew test jibDockerBuild ${{ github.event.inputs.buildOptions }} --no-daemon --scan --parallel --image odd-platform -Pversion=${{ steps.get-version.outputs.version }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
Expand Down

0 comments on commit 5f884c7

Please sign in to comment.