1170 add triple attribute type (#1196) #55
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: build-latest-nunaliit-release | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build-nunaliit-and-release: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/[email protected] | |
with: | |
java-version: '11.0.12' | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Build Nunaliit with Maven | |
run: mvn clean install | |
- name: Get latest tag across all branches | |
run: | | |
git fetch --tags | |
echo "LATEST_TAG=$(git describe --tags $(git rev-list --branches=master --tags --max-count=1))" >> $GITHUB_ENV | |
- name: Create release with GitHub CLI | |
run: | | |
gh release delete $LATEST_TAG --yes | |
gh release create $LATEST_TAG nunaliit2-couch-sdk/target/*.tar.gz nunaliit2-couch-sdk/target/*.zip --generate-notes --latest --target master --verify-tag | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |