-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from avast/github-actions
- Loading branch information
Showing
7 changed files
with
80 additions
and
22 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
template: | | ||
## Pull Requests | ||
$CHANGES |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: CI | ||
on: | ||
pull_request: | ||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
scala-version: [2.12.10, 2.13.1] | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 100 | ||
- name: Fetch tags | ||
run: git fetch --depth=100 origin +refs/tags/*:refs/tags/* | ||
- uses: olafurpg/setup-scala@v10 | ||
with: | ||
java-version: [email protected] | ||
- name: Coursier cache | ||
uses: coursier/cache-action@v5 | ||
# - name: sbt ci ${{ github.ref }} | ||
# run: ./sbt ci | ||
- name: gradle test ${{ github.ref }} | ||
run: ./gradlew test | ||
env: | ||
SCALA_VERSION: ${{ matrix.scala-version }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
update_release_draft: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Release | ||
on: | ||
push: | ||
# branches: [ master ] | ||
tags: ["*"] | ||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
scala-version: [2.12.10, 2.13.1] | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 100 | ||
- name: Fetch tags | ||
run: git fetch --depth=100 origin +refs/tags/*:refs/tags/* | ||
- uses: olafurpg/setup-scala@v10 | ||
with: | ||
java-version: [email protected] | ||
- name: Coursier cache | ||
uses: coursier/cache-action@v5 | ||
# - name: sbt ci-release ${{ github.ref }} | ||
# run: ./sbt ci-release | ||
- name: gradle bintrayUpload ${{ github.ref }} | ||
run: ./gradlew bintrayUpload -Pversion="$GITHUB_REF" --info | ||
env: | ||
# PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | ||
# PGP_SECRET: ${{ secrets.PGP_SECRET }} | ||
# SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | ||
# SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | ||
SCALA_VERSION: ${{ matrix.scala-version }} | ||
BINTRAY_USER: ${{ secrets.BINTRAY_USER }} | ||
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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