Skip to content

Proper boolean handling #6

Proper boolean handling

Proper boolean handling #6

Workflow file for this run

on:
push:
tags:
- '*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- name: Cache SBT dependencies
uses: actions/cache@v2
with:
path: |
~/.sbt
~/.ivy2
key: ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt', '**/project/build.properties') }}
restore-keys: |
${{ runner.os }}-sbt-
- name: Build Scala Native artifacts
run: sbt sailNative/nativeLink
- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload artifacts
id: upload_artifacts
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./.native/target/scala-3.3.1/sail-out
asset_name: sail
asset_content_type: application/octet-stream