Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2fcd517b3e | ||
|
|
fa5daaf21f | ||
|
|
aefb1be537 | ||
|
|
cbb7b26916 | ||
|
|
65275bb47b | ||
|
|
64b2fbe01b | ||
|
|
93c790fa6d | ||
|
|
c80552861d | ||
|
|
7b8f06a37b | ||
|
|
4b274163ec |
No files matched your search
+15
-15
@@ -16,12 +16,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Java
|
- name: Setup Java
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v5
|
||||||
with:
|
with:
|
||||||
distribution: liberica
|
distribution: liberica
|
||||||
java-version: |
|
java-version: |
|
||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
17
|
17
|
||||||
|
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@v4
|
uses: gradle/actions/setup-gradle@v5
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ./gradlew buildAll
|
run: ./gradlew buildAll
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
cp imgui-lwjgl3/build/libs/*.jar tmp/
|
cp imgui-lwjgl3/build/libs/*.jar tmp/
|
||||||
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: java-libraries
|
name: java-libraries
|
||||||
path: tmp/*.jar
|
path: tmp/*.jar
|
||||||
@@ -64,13 +64,13 @@ jobs:
|
|||||||
runs-on: ${{ matrix.target.os }}
|
runs-on: ${{ matrix.target.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository and Submodules
|
- name: Checkout Repository and Submodules
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Setup Java
|
- name: Setup Java
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v5
|
||||||
with:
|
with:
|
||||||
distribution: liberica
|
distribution: liberica
|
||||||
java-version: |
|
java-version: |
|
||||||
@@ -78,7 +78,7 @@ jobs:
|
|||||||
17
|
17
|
||||||
|
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@v4
|
uses: gradle/actions/setup-gradle@v5
|
||||||
|
|
||||||
- name: Install Dependencies (for Windows build)
|
- name: Install Dependencies (for Windows build)
|
||||||
if: matrix.target.type == 'windows'
|
if: matrix.target.type == 'windows'
|
||||||
@@ -90,7 +90,7 @@ jobs:
|
|||||||
buildSrc/scripts/build.sh ${{ matrix.target.type }}
|
buildSrc/scripts/build.sh ${{ matrix.target.type }}
|
||||||
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: native-library-${{ matrix.target.type }}
|
name: native-library-${{ matrix.target.type }}
|
||||||
path: /tmp/imgui/dst/
|
path: /tmp/imgui/dst/
|
||||||
@@ -102,7 +102,7 @@ jobs:
|
|||||||
needs: build-natives
|
needs: build-natives
|
||||||
steps:
|
steps:
|
||||||
- name: Merge Artifacts
|
- name: Merge Artifacts
|
||||||
uses: actions/upload-artifact/merge@v4
|
uses: actions/upload-artifact/merge@v5
|
||||||
with:
|
with:
|
||||||
name: native-libraries
|
name: native-libraries
|
||||||
pattern: native-library-*
|
pattern: native-library-*
|
||||||
@@ -114,10 +114,10 @@ jobs:
|
|||||||
needs: archive-natives
|
needs: archive-natives
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Download Artifacts
|
- name: Download Artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v6
|
||||||
with:
|
with:
|
||||||
path: /tmp/artifacts
|
path: /tmp/artifacts
|
||||||
|
|
||||||
@@ -154,12 +154,12 @@ jobs:
|
|||||||
needs: [ build-java, archive-natives ]
|
needs: [ build-java, archive-natives ]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Java
|
- name: Setup Java
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v5
|
||||||
with:
|
with:
|
||||||
distribution: liberica
|
distribution: liberica
|
||||||
java-version: |
|
java-version: |
|
||||||
@@ -167,10 +167,10 @@ jobs:
|
|||||||
17
|
17
|
||||||
|
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@v4
|
uses: gradle/actions/setup-gradle@v5
|
||||||
|
|
||||||
- name: Download Artifacts
|
- name: Download Artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v6
|
||||||
with:
|
with:
|
||||||
path: out/artifacts
|
path: out/artifacts
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ dependencies {
|
|||||||
implementation("com.lordcodes.turtle:turtle:0.6.0")
|
implementation("com.lordcodes.turtle:turtle:0.6.0")
|
||||||
implementation("fr.inria.gforge.spoon:spoon-core:10.3.0")
|
implementation("fr.inria.gforge.spoon:spoon-core:10.3.0")
|
||||||
|
|
||||||
implementation("com.fasterxml.jackson.core:jackson-core:2.18.0")
|
implementation("com.fasterxml.jackson.core:jackson-core:2.20.0")
|
||||||
implementation("com.fasterxml.jackson.core:jackson-databind:2.18.0")
|
implementation("com.fasterxml.jackson.core:jackson-databind:2.20.0")
|
||||||
}
|
}
|
||||||
@@ -42,4 +42,7 @@ publish_natives "windows"
|
|||||||
publish_natives "linux"
|
publish_natives "linux"
|
||||||
publish_natives "macos"
|
publish_natives "macos"
|
||||||
|
|
||||||
|
echo "> Nexus manual upload..."
|
||||||
|
curl -D - -X POST -u "${NEXUS_UPD_ID}:${NEXUS_UPD_PASS}" "https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/io.github.spair"
|
||||||
|
|
||||||
echo "All modules and natives published successfully."
|
echo "All modules and natives published successfully."
|
||||||
+2
-2
@@ -13,8 +13,8 @@ ext.configurePublishing = { packageName, packageDesc, packageVersion ->
|
|||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name = 'MavenCentral'
|
name = 'MavenCentral'
|
||||||
def releasesRepoUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
|
def releasesRepoUrl = 'https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2'
|
||||||
def snapshotsRepoUrl = 'https://oss.sonatype.org/content/repositories/snapshots'
|
def snapshotsRepoUrl = 'https://central.sonatype.com/repository/maven-snapshots'
|
||||||
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
|
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
|
||||||
credentials {
|
credentials {
|
||||||
username = System.getenv('NEXUS_UPD_ID')?.trim() ?: ''
|
username = System.getenv('NEXUS_UPD_ID')?.trim() ?: ''
|
||||||
|
|||||||
Reference in new issue
Block a user