Merge pull request #34 from scala-steward/update/commons-compress-1.27.0 #76
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: | |
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] | |
- name: Test | |
run: scala-cli --power test src --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] | |
# - name: Publish | |
# run: scala-cli --power publish src --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 }} | |
package: | |
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] | |
- name: Create and upload archives | |
run: scala-cli run Upload.scala | |
env: | |
UPLOAD_GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |