Add handler executor group support for offloading request handling fr… #160
Workflow file for this run
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
| name: Release AirSpec | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| workflow_dispatch: | |
| jobs: | |
| publish_jvm: | |
| name: Publish AirSpec | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| # Fetch all tags so that sbt-dynver can find the previous release version | |
| fetch-depth: 0 | |
| - run: git fetch --tags -f | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '17' | |
| - name: Setup GPG | |
| env: | |
| PGP_SECRET: ${{ secrets.PGP_SECRET }} | |
| run: echo $PGP_SECRET | base64 --decode | gpg --import --batch --yes | |
| - name: Build bundle | |
| env: | |
| PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | |
| run: | | |
| ../sbt "+airspecJVM/publishSigned; +airspecJS/publishSigned; +airspecNative/publishSigned" | |
| working-directory: ./airspec | |
| - name: Release to Sonatype | |
| env: | |
| SONATYPE_USERNAME: '${{ secrets.SONATYPE_USER }}' | |
| SONATYPE_PASSWORD: '${{ secrets.SONATYPE_PASS }}' | |
| run: ../sbt sonaRelease | |
| working-directory: ./airspec |