-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Build Airflow | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
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 |