-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
a95d686
commit 1bbb338
Showing
16 changed files
with
77 additions
and
258 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,33 @@ | ||
name: Compile and Deploy Java Api to Maven Central | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
java-publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository code from ${{ github.repository }}/${{ github.ref }} | ||
uses: actions/checkout@v2 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
- name: Write gradle.properties | ||
run: | | ||
mkdir -p ~/.gradle | ||
echo "${{ secrets.GRADLE_PROPERTIES }}" | base64 -d > ~/.gradle/gradle.properties | ||
- name: Install gpg secret key | ||
run: | | ||
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import | ||
gpg --pinentry-mode loopback --passphrase "${{ secrets.OSSRH_GPG_SECRET_PASSWORD }}" --export-secret-key 568FD16F857171A0EC6D2C40742C84722FD2B235 > ~/.gradle/maven-central.gpg | ||
gpg --list-secret-keys --keyid-format LONG | ||
- name: Check version | ||
working-directory: . | ||
run: ./.github/scripts/check_version.sh | ||
- name: Build and Publish | ||
working-directory: . | ||
run: ./gradlew build test publish --info --stacktrace |
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,35 @@ | ||
name: Release Java API to Maven Central | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
java-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository code from ${{ github.repository }}/${{ github.ref }} | ||
uses: actions/checkout@v2 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
- name: Write gradle.properties | ||
run: | | ||
mkdir -p ~/.gradle | ||
echo "${{ secrets.GRADLE_PROPERTIES }}" | base64 -d > ~/.gradle/gradle.properties | ||
- name: Install gpg secret key | ||
run: | | ||
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import | ||
gpg --pinentry-mode loopback --passphrase "${{ secrets.OSSRH_GPG_SECRET_PASSWORD }}" --export-secret-key 568FD16F857171A0EC6D2C40742C84722FD2B235 > ~/.gradle/maven-central.gpg | ||
gpg --list-secret-keys --keyid-format LONG | ||
- name: Check version | ||
working-directory: . | ||
run: ./.github/scripts/check_version.sh $(echo "${{ github.ref }}" | sed -e "s,^refs/tags/,,") | ||
- name: Build and Publish | ||
working-directory: . | ||
run: | | ||
./gradlew setVersion -P version=$(echo "${{ github.ref }}" | sed -e "s,^refs/tags/,,") | ||
./gradlew build test release --info --stacktrace |
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 |
---|---|---|
|
@@ -4,9 +4,6 @@ on: | |
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
java-test: | ||
|
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
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
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
...co-plugin-mock/src/main/kotlin/org/calypsonet/keyple/plugin/famoco/AndroidFamocoPlugin.kt
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
...in-mock/src/main/kotlin/org/calypsonet/keyple/plugin/famoco/AndroidFamocoPluginFactory.kt
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
...src/main/kotlin/org/calypsonet/keyple/plugin/famoco/AndroidFamocoPluginFactoryProvider.kt
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
...co-plugin-mock/src/main/kotlin/org/calypsonet/keyple/plugin/famoco/AndroidFamocoReader.kt
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
...src/main/kotlin/org/calypsonet/keyple/plugin/famoco/utils/ContactCardCommonProtocols.java
This file was deleted.
Oops, something went wrong.
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