Skip to content

Commit

Permalink
Regenerate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gbastkowski committed Jun 24, 2024
1 parent bd27109 commit c825271
Showing 1 changed file with 15 additions and 34 deletions.
49 changes: 15 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.11, 3.3.0]
scala: [3.4.2]
java: [temurin@8]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -41,16 +41,17 @@ jobs:
cache: sbt

- name: Check that workflows are up to date
run: sbt githubWorkflowCheck
run: sbt '++ ${{ matrix.scala }}' githubWorkflowCheck

- name: Build project
run: sbt test
run: sbt '++ ${{ matrix.scala }}' test

- name: Compile Documentation
run: sbt site/mdoc
if: matrix.scala == '3.4.2'
run: sbt '++ ${{ matrix.scala }}' site/mdoc

- name: Compress target directories
run: tar cf targets.tar target rules/syntax/target rules/target core/target project/target
run: tar cf targets.tar target rules/syntax/target app/target rules/target core/target project/target

- name: Upload target directories
uses: actions/upload-artifact@v3
Expand All @@ -65,7 +66,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.11]
scala: [3.4.2]
java: [temurin@8]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -82,22 +83,12 @@ jobs:
java-version: 8
cache: sbt

- name: Download target directories (2.13.11)
- name: Download target directories (3.4.2)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-2.13.11-${{ matrix.java }}
name: target-${{ matrix.os }}-3.4.2-${{ matrix.java }}

- name: Inflate target directories (2.13.11)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (3.3.0)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-3.3.0-${{ matrix.java }}

- name: Inflate target directories (3.3.0)
- name: Inflate target directories (3.4.2)
run: |
tar xf targets.tar
rm targets.tar
Expand All @@ -116,32 +107,22 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.11]
scala: [3.4.2]
java: [temurin@8]
runs-on: ${{ matrix.os }}
steps:
- name: Download target directories (2.13.11)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-2.13.11-${{ matrix.java }}

- name: Inflate target directories (2.13.11)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (3.3.0)
- name: Download target directories (3.4.2)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-3.3.0-${{ matrix.java }}
name: target-${{ matrix.os }}-3.4.2-${{ matrix.java }}

- name: Inflate target directories (3.3.0)
- name: Inflate target directories (3.4.2)
run: |
tar xf targets.tar
rm targets.tar
- name: Compile Website
if: matrix.scala == '2.13.11'
if: matrix.scala == '3.4.2'
run: sbt site/makeMicrosite

- name: Deploy site
Expand Down

0 comments on commit c825271

Please sign in to comment.