Skip to content

Update proguard-base to 7.6.0 #2055

Update proguard-base to 7.6.0

Update proguard-base to 7.6.0 #2055

Workflow file for this run

name: ci
on:
push:
pull_request:
schedule:
- cron: '0 11 * * *'
jobs:
setup_script_unix:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/setup-java@v4
with:
java-version: 8
distribution: temurin
- uses: actions/checkout@v4
- run: ./setup.sh
- run: ~/.conscript/bin/cs --version
setup_script_windows:
timeout-minutes: 10
runs-on: windows-latest
steps:
- uses: actions/setup-java@v4
with:
java-version: 8
distribution: temurin
- uses: actions/checkout@v4
- run: Powershell.exe -File setup.ps1
- shell: cmd
run: "%HOMEDRIVE%%HOMEPATH%\\.conscript\\bin\\cs --version"
test:
timeout-minutes: 30
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- java: 8
- java: 11
steps:
- uses: actions/setup-java@v4
with:
java-version: "${{ matrix.java }}"
distribution: temurin
- uses: actions/checkout@v4
- uses: coursier/cache-action@v6
- run: sbt -v test
- run: |
sbt -v publishLocal "project plugin" "^ scripted" &&
java -jar ./target/scala-2.11/proguard/conscript-*.jar --version
push_gh_pages:
needs: [test, setup_script_unix, setup_script_windows]
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/setup-java@v4
with:
java-version: 8
distribution: temurin
- uses: actions/checkout@v4
with:
fetch-depth: 10
- uses: coursier/cache-action@v6
- run: sbt makeSite
- name: Push to gh-pages
if: ${{ github.repository_owner == 'foundweekends' && github.ref == 'refs/heads/master' && github.event_name == 'push' }}
uses: JamesIves/github-pages-deploy-action@881db5376404c5c8d621010bcbec0310b58d5e29 # v4.6.8
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: target/site
CLEAN: true