Skip to content

Commit

Permalink
Fix GH actions build
Browse files Browse the repository at this point in the history
  • Loading branch information
gabfssilva committed Jan 25, 2024
1 parent f2e1b97 commit ec9fa65
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 62 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ on:
RELEASER_NEXUS2_PASSWORD:
required: true

push:
branches-ignore:
- main

permissions:
id-token: write
contents: write
Expand Down
55 changes: 1 addition & 54 deletions .github/workflows/test-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,63 +12,10 @@ on:
containers:
required: false
type: string
linux:
required: false
type: boolean
default: true
windows:
required: false
type: boolean
default: false
osx:
required: false
type: boolean
default: false

jobs:
linux-test:
name: ${{ inputs.module }} module
if: ${{ inputs.linux }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check
run: ls -lh
- name: Run docker-compose
if: ${{ inputs.containers }}
run: docker compose up ${{ inputs.containers }} -d
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Run tests
uses: gradle/gradle-build-action@v2
with:
arguments: ${{ inputs.path }}:test
windows-test:
name: ${{ inputs.module }} module
if: ${{ inputs.windows }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check
run: ls -lh
- name: Run docker-compose
if: ${{ inputs.containers }}
run: docker compose up ${{ inputs.containers }} -d
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Run tests
uses: gradle/gradle-build-action@v2
with:
arguments: ${{ inputs.path }}:test
osx-test:
test:
name: ${{ inputs.module }} module
if: ${{ inputs.osx }}
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ jobs:
with:
module: River Core
path: :core
windows: true
linux: true
osx: true

amqp:
uses: ./.github/workflows/test-module.yml
Expand Down
2 changes: 1 addition & 1 deletion libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
river = "1.0.0-alpha13"
river = "1.0.0-alpha14"
kotlin = "1.9.22"
java = "17"
dokka = "1.9.10"
Expand Down

0 comments on commit ec9fa65

Please sign in to comment.