Skip to content

Commit

Permalink
Corrects build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankazokas committed Dec 27, 2021
1 parent ca9fa33 commit e2e7b60
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 27 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/maven-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,20 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 11
server-id: ossrh
distribution: adopt
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Publish package to maven central
run: mvn --batch-mode clean deploy -P central-deploy -DskipTests=true
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}


24 changes: 0 additions & 24 deletions .github/workflows/maven-feature-hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,3 @@ jobs:
- uses: actions/checkout@v2
- name: Build with Maven
run: mvn clean install
deploy:
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11 ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: 11
server-id: ossrh
distribution: adopt
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Publish package to maven central
run: mvn --batch-mode clean deploy -P central-deploy -DskipTests=true --update-snapshots -Prelease
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
4 changes: 3 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 11
server-id: ossrh
distribution: adopt
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Publish package to maven central
run: mvn --batch-mode clean deploy -P central-deploy -DskipTests=true --update-snapshots -Prelease
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.channelape</groupId>
<artifactId>shopify-sdk</artifactId>
<version>2.4.1</version>
<version>2.4.3</version>

<name>Shopify SDK</name>
<description>Java SDK for Shopify REST API.</description>
Expand Down

0 comments on commit e2e7b60

Please sign in to comment.