Skip to content

Commit

Permalink
Fix Maven publish
Browse files Browse the repository at this point in the history
  • Loading branch information
erikc5000 committed Nov 18, 2021
1 parent e31ad22 commit 5736307
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/maven-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ on:

jobs:
build:
strategy:
matrix:
os: [ macos-11, windows-latest ]
runs-on: ${{matrix.os}}
runs-on: macos-11
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -33,14 +30,9 @@ jobs:
restore-keys: |
${{ runner.os }}-konan-
- name: Publish MacOS Artifacts
if: matrix.os == 'macos-11'
- name: Publish
run: ./gradlew publishAllPublicationsToMavenRepository

- name: Publish Windows Artifacts
if: matrix.os == 'windows-latest'
run: ./gradlew publishMingwX64PublicationToMavenRepository publishMingwX86PublicationToMavenRepository

env:
ORG_GRADLE_PROJECT_repositoryUsername: ${{ secrets.ORG_GRADLE_PROJECT_repositoryUsername }}
ORG_GRADLE_PROJECT_repositoryPassword: ${{ secrets.ORG_GRADLE_PROJECT_repositoryPassword }}
Expand Down

0 comments on commit 5736307

Please sign in to comment.