Skip to content

Configure fork CI

Configure fork CI #4

on:
push:
tags:
- '*' # Push events to matching v*, i.e. v1.0, v20.15.10
branches:
- feat/delete-flink-application
name: Create Release
jobs:
build:
name: Upload Release Asset
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: ./gradlew build
- name: Get Release Version
id: get_version
run: VERSION=$(./gradlew currentVersion -q -Prelease.quiet)-$(git rev-parse --short "$GITHUB_SHA") && echo ::set-output name=VERSION::$VERSION
- name: Upload Release Zip
id: upload_release_asset
uses: shallwefootball/s3-upload-action@master
with:
aws_key_id: ${{ secrets.AWS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
aws_bucket: rundeck-plugins
source_dir: build/libs/${{ steps.get_version.outputs.VERSION }}.zip
destination_dir: python