Skip to content

Commit

Permalink
ci: fix broken task names for the new version of publish-on-central
Browse files Browse the repository at this point in the history
  • Loading branch information
DanySK committed Jun 21, 2022
1 parent a89d29b commit f3e6f88
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,28 @@ jobs:
test-deploy:
runs-on: ubuntu-latest
timeout-minutes: 120
if: contains(github.repository, 'AlchemistSimulator/Alchemist') && contains('push workflow_dispatch', github.event_name)
concurrency:
group: ${{ github.workflow }}-test-deploy-${{ github.event.number || github.ref }}
cancel-in-progress: true
steps:
- name: Checkout
uses: danysk/action-checkout@0.2.1
- uses: DanySK/build-check-deploy-gradle-action@2.0.2
with:
build-command: true
check-command: |
./gradlew tasks | grep releaseStagingRepositoryOnMavenCentral
./gradlew tasks | grep closeStagingRepositoryOnMavenCentral
java-version: 11
should-run-codecov: false
should-deploy: false
should-validate-wrapper: false
- uses: DanySK/build-check-deploy-gradle-action@2.0.2
if: contains(github.repository, 'AlchemistSimulator/Alchemist') && contains('push workflow_dispatch', github.event_name)
with:
build-command: true
check-command: true
deploy-command: ./gradlew closeKotlinMavenOnMavenCentralNexus --parallel
deploy-command: ./gradlew publishAllPublicationsToMavenCentralRepository closeStagingRepositoryOnMavenCentral --parallel
java-version: 11
should-run-codecov: false
should-deploy: true
Expand Down
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ git -C build/website/ add . || exit 1
git -C build/website/ commit -m "chore: update website to version \${nextRelease.version}" || exit 2
git -C build/website/ push || exit 3
./gradlew shadowJar --parallel || ./gradlew shadowJar --parallel || exit 4
./gradlew releaseKotlinMavenOnMavenCentralNexus --parallel || exit 5
./gradlew ./gradlew publishAllPublicationsToMavenCentralRepository releaseStagingRepositoryOnMavenCentral --parallel || exit 5
./gradlew publishKotlinMavenPublicationToGithubRepository --continue || true
`
var config = require('semantic-release-preconfigured-conventional-commits');
Expand Down

0 comments on commit f3e6f88

Please sign in to comment.