Skip to content

Commit

Permalink
Temporary - run jobs that didn't run on first attempt for 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Oct 9, 2020
1 parent d158b15 commit 236303a
Showing 1 changed file with 0 additions and 71 deletions.
71 changes: 0 additions & 71 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,77 +8,7 @@ on:
pull_request:

jobs:
test:
runs-on: ${{ matrix.OS }}
name: ${{ matrix.TARGET }} Scala ${{ matrix.SCALA_VERSION }} JDK ${{ matrix.JDK }}
strategy:
fail-fast: false
matrix:
OS: ["ubuntu-latest"]
JDK: ["8"]
SCALA_VERSION: ["2.12"]
TARGET: ["JVM", "Scala.JS", "Website"]
include:
- JDK: "8"
SCALA_VERSION: "2.13"
TARGET: "JVM"
OS: "ubuntu-latest"
- JDK: "11"
SCALA_VERSION: "2.12"
TARGET: "JVM"
OS: "ubuntu-latest"
# Disabled for now, getting weird linking errors
# - JDK: "8"
# SCALA_VERSION: "2.12"
# TARGET: "ScalaNative"
# OS: "ubuntu-16.04"
steps:
- name: Don't convert LF to CRLF during checkout
if: runner.os == 'Windows'
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v5
with:
extraFiles: "[\".github/scripts/*.sh\", \"scripts/*.sh\", \"*.sc\", \"scripts/**.sc\", \".github/workflows/ci.yml\"]"
extraKey: ${{ matrix.JDK }}-${{ matrix.SCALA_VERSION }}-${{ matrix.TARGET }}
- run: .github/scripts/ci-setup.sh --jvm ${{ matrix.JDK }}
shell: bash
- run: .github/scripts/ci.sh
shell: bash
env:
SCALA_VERSION: ${{ matrix.SCALA_VERSION }}
TARGET: ${{ matrix.TARGET }}

publish:
needs: test
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v5
with:
extraFiles: "[\".github/scripts/*.sh\", \"scripts/*.sh\", \"*.sc\", \"scripts/**.sc\", \".github/workflows/ci.yml\"]"
- uses: olafurpg/setup-gpg@v2
- run: .github/scripts/ci-setup.sh --jvm 8
shell: bash
- name: Release
run: sbt +publishLocal ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

upload-jars:
needs: publish
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -148,7 +78,6 @@ jobs:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

update-website-latest:
needs: publish
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 236303a

Please sign in to comment.