Update unfiltered to 0.12.0 to avoid Scala XML 1.3 (#217) #25
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 | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
tags: ["v*"] | |
permissions: | |
contents: read | |
jobs: | |
release: | |
name: Release to Sonatype | |
if: github.event.repository.fork == false | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Cache Coursier cache | |
uses: coursier/[email protected] | |
- name: Set up JDK 11 | |
uses: coursier/[email protected] | |
with: | |
jvm: temurin:1.11.0.17 | |
- run: sbt ci-release | |
env: | |
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | |
PGP_SECRET: ${{ secrets.PGP_SECRET }} | |
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | |
# https://github.com/sbt/sbt-site/issues/200 | |
# documentation: | |
# name: Release Documentation | |
# if: github.event.repository.fork == false | |
# runs-on: ubuntu-22.04 | |
# permissions: | |
# contents: write | |
# steps: | |
# - name: Checkout | |
# uses: actions/[email protected] | |
# with: | |
# fetch-depth: 0 | |
# | |
# - name: Cache Coursier cache | |
# uses: coursier/[email protected] | |
# | |
# - name: Set up JDK 11 | |
# uses: coursier/[email protected] | |
# with: | |
# jvm: temurin:1.11.0.17 | |
# | |
# - name: sbt ghpages | |
# run: |- | |
# git config --global user.name "sbt-site bot" | |
# git config --global user.email "[email protected]" | |
# sbt ghpagesPushSite | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |