fix effect comparison in unit tests if number of effects is one (#10) #56
Workflow file for this run
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: Publish Ouroboros | |
on: | |
push: | |
branches: | |
- 'main' | |
tags: | |
- 1.* | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Assemble project | |
run: ./gradlew assembleRelease | |
- name: Publish AAR to GitHub packages | |
run: | | |
./gradlew publishAllPublicationsToGitHubPackagesRepository | |
if: startsWith(github.ref, 'refs/tags/') | |
env: | |
PACKAGES_REPOSITORY: https://maven.pkg.github.com/${{ github.repository }} | |
PACKAGES_USERNAME: ${{ github.actor }} | |
PACKAGES_TOKEN: ${{ secrets.GITHUB_TOKEN }} |