Update airframe-log to 23.9.1 (#504) #96
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: Snapshot Release | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '**.scala' | |
- '**.java' | |
- '**.sbt' | |
- 'src/main/resources/org/xerial/snappy/native/**' | |
- '.github/workflows/snapshot.yml' | |
tag: | |
- '!*' | |
workflow_dispatch: | |
jobs: | |
publish_snapshots: | |
name: Publish snapshots | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 10000 | |
# Fetch all tags so that sbt-dynver can find the previous release version | |
- run: git fetch --tags | |
- uses: olafurpg/setup-scala@v14 | |
with: | |
java-version: [email protected] | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.cache | |
key: ${{ runner.os }}-snapshot-${{ hashFiles('**/*.sbt') }} | |
restore-keys: ${{ runner.os }}-snapshot- | |
- name: Publish snapshots | |
env: | |
SONATYPE_USERNAME: '${{ secrets.SONATYPE_USER }}' | |
SONATYPE_PASSWORD: '${{ secrets.SONATYPE_PASS }}' | |
run: ./sbt publish |