http (feature): Add interface for Scala Native (#3724) #124
Workflow file for this run
This file contains 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@v4 | |
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@v4 | |
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 sonatypeBundleRelease | |
working-directory: ./airspec |