Inventory Events #9
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 Airflow | |
on: | |
push: | |
branches: | |
- 'version/**' | |
jobs: | |
build-airflow: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project sources | |
uses: actions/checkout@v4 | |
- name: Setup JDK 21 for x64 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 21 | |
distribution: corretto | |
architecture: x64 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Apply Patches | |
run: | | |
git config --global user.email "no-reply@github.com" | |
git config --global user.name "GitHub Actions" | |
./gradlew applyPatches --stacktrace | |
- name: Create Paperclip Jar | |
run: ./gradlew createPaperclipJar --stacktrace | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
path: Airflow-Server/build/libs/Airflow-paperclip-*.jar |