Added documentation for '0.17.0'. #100
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+' | |
pull_request: | |
branches: [ main ] | |
jobs: | |
# build-linux-x64: | |
# runs-on: ubuntu-latest | |
# environment: Maven Central | |
# steps: | |
# - name: Checkout Project | |
# uses: actions/checkout@v4 | |
# | |
# - name: Setup Java | |
# uses: actions/setup-java@v4 | |
# with: | |
# distribution: corretto | |
# java-version: 17 | |
# | |
# - name: Setup Gradle | |
# uses: gradle/actions/setup-gradle@v4 | |
# | |
# - name: Setup Cache | |
# uses: actions/cache@v4 | |
# with: | |
# path: | | |
# /home/runner/.konan | |
# sqlx4k-mysql/rust_lib/target | |
# sqlx4k-postgres/rust_lib/target | |
# sqlx4k-sqlite/rust_lib/target | |
# key: rust-lib-cache-linux | |
# | |
# - name: Gradle Build | |
# run: ./scripts/build-linux-x64.sh | |
# build-linux-arm64: | |
# runs-on: ubuntu-latest | |
# environment: Maven Central | |
# steps: | |
# - name: Checkout Project | |
# uses: actions/checkout@v4 | |
# | |
# - name: Setup Java | |
# uses: actions/setup-java@v4 | |
# with: | |
# distribution: corretto | |
# java-version: 17 | |
# | |
# - name: Setup Gradle | |
# uses: gradle/actions/setup-gradle@v4 | |
# | |
# - name: Setup Cache | |
# uses: actions/cache@v4 | |
# with: | |
# path: | | |
# /home/runner/.konan | |
# sqlx4k-mysql/rust_lib/target | |
# sqlx4k-postgres/rust_lib/target | |
# sqlx4k-sqlite/rust_lib/target | |
# key: rust-lib-cache-linux | |
# | |
# - name: Gradle Build | |
# run: ./scripts/build-linux-arm64.sh | |
build-apple: | |
runs-on: macos-14 | |
environment: Maven Central | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: corretto | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Setup Rust & cargo | |
run: rustup target add aarch64-apple-ios aarch64-apple-darwin x86_64-apple-darwin | |
- name: Setup Cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
/home/runner/.konan | |
sqlx4k-mysql/rust_lib/target | |
sqlx4k-postgres/rust_lib/target | |
sqlx4k-sqlite/rust_lib/target | |
key: rust-lib-cache-apple | |
- name: Gradle Build | |
run: ./gradlew clean build | |
# run: ./scripts/build-apple.sh | |
# - name: Gradle Publish | |
# run: ./gradlew publish | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} | |
# MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} | |
# MAVEN_SIGNING_KEY: ${{ secrets.MAVEN_SIGNING_KEY }} | |
# MAVEN_SIGNING_PASSWORD: ${{ secrets.MAVEN_SIGNING_PASSWORD }} |