-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from ashley-taylor/master
catchup
- Loading branch information
Showing
77 changed files
with
2,377 additions
and
819 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 |
---|---|---|
@@ -1,35 +1,46 @@ | ||
name: Release | ||
on: | ||
workflow_dispatch | ||
permissions: | ||
contents: write | ||
on: workflow_dispatch | ||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ~/.m2/repository | ||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: | | ||
${{ runner.os }}-maven- | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Release | ||
uses: qcastel/[email protected] | ||
with: | ||
release-branch-name: "master" | ||
maven-args: "-P sonatype" | ||
git-release-bot-name: "release-bot" | ||
git-release-bot-email: "[email protected]" | ||
|
||
gpg-enabled: "true" | ||
gpg-key-id: ${{ secrets.GPG_KEY_ID }} | ||
gpg-key: ${{ secrets.GPG_KEY }} | ||
|
||
maven-repo-server-id: sonatype | ||
maven-repo-server-username: ${{ secrets.MVN_REPO_PRIVATE_REPO_USER }} | ||
maven-repo-server-password: ${{ secrets.MVN_REPO_PRIVATE_REPO_PASSWORD }} | ||
|
||
access-token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/cache@v4 | ||
with: | ||
path: ~/.m2/repository | ||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: | | ||
${{ runner.os }}-maven- | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 21 | ||
distribution: zulu | ||
- uses: whelk-io/maven-settings-xml-action@v22 | ||
with: | ||
servers: > | ||
[ | ||
{ "id": "sonatype", "username": "${{ secrets.MVN_REPO_PRIVATE_REPO_USER }}", "password": "${{ secrets.MVN_REPO_PRIVATE_REPO_PASSWORD }}" } | ||
] | ||
- name: set name | ||
run: | | ||
git config --global user.name "release-bot"; | ||
git config --global user.email "[email protected]"; | ||
- name: add key | ||
run: | | ||
echo "${{ secrets.GPG_KEY }}" | base64 -d > private.key | ||
gpg --batch --import ./private.key | ||
rm ./private.key | ||
gpg --list-secret-keys --keyid-format LONG | ||
- name: prepare | ||
run: | | ||
mvn release:prepare -Dusername=${{ secrets.GITHUB_TOKEN }} -P sonatype | ||
- name: release | ||
run: | | ||
mvn release:perform -Dusername=${{ secrets.GITHUB_TOKEN }} -P sonatype |
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 |
---|---|---|
@@ -1,25 +1,26 @@ | ||
name: Test | ||
on: | ||
on: | ||
push: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ~/.m2/repository | ||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: | | ||
${{ runner.os }}-maven- | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Build with Maven | ||
run: mvn -B test --file pom.xml | ||
- uses: ashley-taylor/junit-report-annotations-action@master | ||
if: always() | ||
with: | ||
access-token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: actions/checkout@v4 | ||
- uses: actions/cache@v4 | ||
with: | ||
path: ~/.m2/repository | ||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: | | ||
${{ runner.os }}-maven- | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 21 | ||
distribution: zulu | ||
- name: Build with Maven | ||
run: mvn -B test --file pom.xml | ||
- uses: ashley-taylor/junit-report-annotations-action@master | ||
if: always() | ||
with: | ||
access-token: ${{ secrets.GITHUB_TOKEN }} |
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
93 changes: 0 additions & 93 deletions
93
...-lambda/src/main/java/com/fleetpin/graphql/database/dynamo/history/lambda/DynamoUtil.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.