Fix: empty kotlinx.interval.datetime project
#62
This file contains hidden or 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
| # Publish snapshots to the Sonatype Nexus Repository for each commit which passes tests on develop. | |
| name: Publish snapshots | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| jobs: | |
| publish: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up 'publish.properties' | |
| run: | | |
| echo "${{ secrets.SIGNING_KEY_FILE }}" > signingKey.asc | |
| echo "${{ secrets.PUBLISH_PROPERTIES }}" > publish.properties | |
| - name: Build and test | |
| run: ./gradlew check | |
| - name: Publish snapshot | |
| if: success() | |
| run: ./gradlew -Psnapshot publishToSonatype closeAndReleaseSonatypeStagingRepository |