Skip to content

Set VERSION to 1.8.0 #21

Set VERSION to 1.8.0

Set VERSION to 1.8.0 #21

name: Github release draft
on:
push:
tags:
- '*'
jobs:
create-draft:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Build libs and distributions with Gradle
run: ./gradlew build -x test
- name: Create release notes draft
uses: actions/create-release@v1
id: create_release
with:
release_name: TypeDB Loader ${{ github.ref_name }}
draft: true
prerelease: false
tag_name: ${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload binary zip
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: build/distributions/typedb-loader-${{ github.ref_name }}.zip
asset_name: typedb-loader-${{ github.ref_name }}.zip
asset_content_type: application/zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload binary tar
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: build/distributions/typedb-loader-${{ github.ref_name }}.tar
asset_name: typedb-loader-${{ github.ref_name }}.tar
asset_content_type: application/gzip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}