Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/exoego/cross-scala-versions
Extract crossScalaVersions for strategy matrix in GitHub Action
https://github.com/exoego/cross-scala-versions
Last synced: 5 days ago
JSON representation
Extract crossScalaVersions for strategy matrix in GitHub Action
- Host: GitHub
- URL: https://github.com/exoego/cross-scala-versions
- Owner: exoego
- Created: 2021-12-06T14:01:14.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-07T01:22:22.000Z (about 3 years ago)
- Last Synced: 2024-03-14T20:53:21.874Z (10 months ago)
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scala-cross-versions
A GitHub Actions to extract sbt's "crossScalaVersions" for matrix in other action.
## Example
```yaml
name: CI
on:
pull_request:
jobs:
get_scala_versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: exoego/cross-scala-versions@master
id: run
outputs:
scala_versions: ${{ steps.run.outputs.scala_versions }}build:
needs: get_scala_versions
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
scala: ${{ fromJson(needs.get_scala_versions.outputs.scala_versions) }}
steps:
- uses: actions/checkout@v2
- run: sbt ++${{ matrix.scala }} test
```