Skip to content

Commit

Permalink
Release fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsloan committed Mar 17, 2023
1 parent 53de6af commit b2beacd
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,33 +64,27 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v2
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '8'
java-version: '17'
distribution: 'temurin'
cache: 'sbt'

- name: Cache SBT
uses: actions/cache@v3
- name: Uncache assembly
uses: actions/cache/restore@v3
with:
path: |
~/.ivy2/cache
~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('*.sbt') }}-${{ hashFiles('project/**') }}

- name: Cache assembly
uses: actions/cache@v3
with:
path: |
~/**/target/**/libs/*.jar
key: ${{ runner.os }}-assembly-${{ matrix.module }}-${{ github.run_id }}
~/**/target/libs/*.jar
key: assembly-${{ matrix.module }}-${{ github.run_id }}
fail-on-cache-miss: true

- name: Package Connector
shell: bash
run: |
FOLDER=kafka-connect-${{ matrix.module }}-${{ env.TAG }}
mkdir -p $FOLDER
cp **/target/**/libs/*.jar LICENSE $FOLDER/
cp **/target/libs/*.jar LICENSE $FOLDER/
zip -r "$FOLDER.zip" $FOLDER/
- name: Upload binaries to release
Expand Down

0 comments on commit b2beacd

Please sign in to comment.