Skip to content

Commit

Permalink
Update workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
io7m committed May 5, 2024
1 parent d2ed8d4 commit fac5f8b
Show file tree
Hide file tree
Showing 9 changed files with 175 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.linux.temurin.lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ jobs:
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
run: .github/workflows/deploy-release.sh

5 changes: 3 additions & 2 deletions .github/workflows/main.linux.temurin.current.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@

name: main.linux.temurin.current

on:
push:
branches: [ develop, feature/*, release/* ]
pull_request:
branches: [ develop ]

jobs:
build:
Expand Down Expand Up @@ -38,3 +37,5 @@ jobs:
name: test-logs
path: ./com.io7m.jaccord.tests/target/surefire-reports



3 changes: 1 addition & 2 deletions .github/workflows/main.linux.temurin.lts.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@

name: main.linux.temurin.lts

on:
push:
branches: [ develop, feature/*, release/* ]
pull_request:
branches: [ develop ]

jobs:
build:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/main.windows.temurin.current.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@

name: main.windows.temurin.current

on:
push:
branches: [ develop, feature/*, release/* ]
pull_request:
branches: [ develop ]

jobs:
build:
Expand Down Expand Up @@ -38,3 +37,5 @@ jobs:
name: test-logs
path: ./com.io7m.jaccord.tests/target/surefire-reports



5 changes: 3 additions & 2 deletions .github/workflows/main.windows.temurin.lts.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@

name: main.windows.temurin.lts

on:
push:
branches: [ develop, feature/*, release/* ]
pull_request:
branches: [ develop ]

jobs:
build:
Expand Down Expand Up @@ -38,3 +37,5 @@ jobs:
name: test-logs
path: ./com.io7m.jaccord.tests/target/surefire-reports



41 changes: 41 additions & 0 deletions .github/workflows/pr.linux.temurin.current.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

name: pr.linux.temurin.current

on:
pull_request:
branches: [ develop, feature/*, release/* ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: JDK
uses: actions/setup-java@v4
with:
java-version: 22
distribution: 'temurin'

- name: Collect project version
id: project_version
run: java .github/workflows/Tools.java ShowProjectVersion pom.xml >> "$GITHUB_OUTPUT"

- name: Collect project snapshot
id: project_is_snapshot
run: java .github/workflows/Tools.java ShowProjectIsSnapshot pom.xml >> "$GITHUB_OUTPUT"

- name: Build
run: mvn --batch-mode --strict-checksums --errors clean verify site

- name: Upload test logs
uses: actions/upload-artifact@v4
if: always()
with:
name: test-logs
path: ./com.io7m.jaccord.tests/target/surefire-reports



41 changes: 41 additions & 0 deletions .github/workflows/pr.linux.temurin.lts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

name: pr.linux.temurin.lts

on:
pull_request:
branches: [ develop, feature/*, release/* ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: JDK
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'

- name: Collect project version
id: project_version
run: java .github/workflows/Tools.java ShowProjectVersion pom.xml >> "$GITHUB_OUTPUT"

- name: Collect project snapshot
id: project_is_snapshot
run: java .github/workflows/Tools.java ShowProjectIsSnapshot pom.xml >> "$GITHUB_OUTPUT"

- name: Build
run: mvn --batch-mode --strict-checksums --errors clean verify site

- name: Upload test logs
uses: actions/upload-artifact@v4
if: always()
with:
name: test-logs
path: ./com.io7m.jaccord.tests/target/surefire-reports



41 changes: 41 additions & 0 deletions .github/workflows/pr.windows.temurin.current.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

name: pr.windows.temurin.current

on:
pull_request:
branches: [ develop, feature/*, release/* ]

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: JDK
uses: actions/setup-java@v4
with:
java-version: 22
distribution: 'temurin'

- name: Collect project version
id: project_version
run: java .github/workflows/Tools.java ShowProjectVersion pom.xml >> "$GITHUB_OUTPUT"

- name: Collect project snapshot
id: project_is_snapshot
run: java .github/workflows/Tools.java ShowProjectIsSnapshot pom.xml >> "$GITHUB_OUTPUT"

- name: Build
run: mvn --batch-mode --strict-checksums --errors clean verify site

- name: Upload test logs
uses: actions/upload-artifact@v4
if: always()
with:
name: test-logs
path: ./com.io7m.jaccord.tests/target/surefire-reports



41 changes: 41 additions & 0 deletions .github/workflows/pr.windows.temurin.lts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

name: pr.windows.temurin.lts

on:
pull_request:
branches: [ develop, feature/*, release/* ]

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: JDK
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'

- name: Collect project version
id: project_version
run: java .github/workflows/Tools.java ShowProjectVersion pom.xml >> "$GITHUB_OUTPUT"

- name: Collect project snapshot
id: project_is_snapshot
run: java .github/workflows/Tools.java ShowProjectIsSnapshot pom.xml >> "$GITHUB_OUTPUT"

- name: Build
run: mvn --batch-mode --strict-checksums --errors clean verify site

- name: Upload test logs
uses: actions/upload-artifact@v4
if: always()
with:
name: test-logs
path: ./com.io7m.jaccord.tests/target/surefire-reports



0 comments on commit fac5f8b

Please sign in to comment.