Update sbt to 1.10.2 #2006
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: ci | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
timeout-minutes: 20 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: 11 | |
distribution: temurin | |
- uses: actions/checkout@v4 | |
- run: sbt -v -Dfile.encoding=UTF8 "+test" testConscript | |
- uses: webfactory/[email protected] | |
if: ${{ github.repository_owner == 'foundweekends' && github.ref == 'refs/heads/master' && github.event_name == 'push' }} | |
with: | |
ssh-private-key: ${{ secrets.DEPLOY_KEY_1 }} | |
- name: Push to gh-pages | |
if: ${{ github.repository_owner == 'foundweekends' && github.ref == 'refs/heads/master' && github.event_name == 'push' }} | |
run: | | |
git config --global user.email "74864734+foundweekends-bot[bot]@users.noreply.github.com" | |
git config --global user.name "foundweekends-bot[bot]" | |
# https://github.com/sbt/sbt-ghpages/commit/cbedd8edb8 | |
export SBT_GHPAGES_COMMIT_MESSAGE="auto commit on CI https://github.com/foundweekends/pamflet/commit/${{ github.sha }}" | |
sbt -v ghpagesPushSite |