All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.cli.commands.publish.workflows.default.yml Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
name: CI
on:
  push:
    branches:
    - main
    tags:
    - "v*"
  pull_request:

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
      with:
        fetch-depth: 0
    - uses: coursier/[email protected]
    - uses: VirtusLab/[email protected]
      with:
        power: true
    - name: Test
      run: scala-cli test . --cross

  publish:
    needs: test
    if: github.event_name == 'push'
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
      with:
        fetch-depth: 0
    - uses: coursier/[email protected]
    - uses: VirtusLab/[email protected]
      with:
        power: true
    - name: Publish
      run: scala-cli publish . --cross
      env:
        PUBLISH_USER: ${{ secrets.PUBLISH_USER }}
        PUBLISH_PASSWORD: ${{ secrets.PUBLISH_PASSWORD }}
        PUBLISH_SECRET_KEY: ${{ secrets.PUBLISH_SECRET_KEY }}
        PUBLISH_SECRET_KEY_PASSWORD: ${{ secrets.PUBLISH_SECRET_KEY_PASSWORD }}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy