Skip to content

Update airframe-http, airframe-http-netty, ... to 24.12.1 (#3756) #2075

Update airframe-http, airframe-http-netty, ... to 24.12.1 (#3756)

Update airframe-http, airframe-http-netty, ... to 24.12.1 (#3756) #2075

Workflow file for this run

name: Snapshot Release
on:
push:
branches:
- main
paths:
- '**.scala'
- '**.java'
- '**.sbt'
- '.github/workflows/snapshot.yml'
tag:
- '!v*'
jobs:
publish_snapshots:
name: Publish snapshots
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
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
- name: Get Airframe version
run: echo "AIRFRAME_VERSION=$(./scripts/dynver.sh)" >> $GITHUB_ENV
- name: Check Airframe version
run: echo ${AIRFRAME_VERSION}
- name: Post version number to Slack
id: slack
uses: slackapi/slack-github-action@v2.0.0
with:
method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }}
payload: |
# wvlet dev-snapshot channel
channel: C04CC79BZ7A
text: "Publishing a snapshot version of airframe: `${{ env.AIRFRAME_VERSION }}`"
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
- name: Publish snapshots
env:
SONATYPE_USERNAME: '${{ secrets.SONATYPE_USER }}'
SONATYPE_PASSWORD: '${{ secrets.SONATYPE_PASS }}'
run: |
./sbt publishSnapshots
- name: Publish snapshots of AirSpec
env:
SONATYPE_USERNAME: '${{ secrets.SONATYPE_USER }}'
SONATYPE_PASSWORD: '${{ secrets.SONATYPE_PASS }}'
run: |
../sbt publishSnapshots
working-directory: ./airspec
- name: Notify the completion to Slack
uses: slackapi/slack-github-action@v2.0.0
with:
method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }}
payload: |
# wvlet dev-snapshot channel
channel: C04CC79BZ7A
# Update the thread
thread_ts: ${{ steps.slack.outputs.ts }}
text: "[done] Published a snapshot version of airframe: `${{ env.AIRFRAME_VERSION }}`"