[all] Fix an infinite recursion issue in VeniceWriter (#884) #41
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: Build and Upload Archives Upon Pushing Tags | |
# Run this workflow every time a tag is pushed | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
# Name the Job | |
name: Build tagged commit and upload an archive | |
# Set the type of machine to run on | |
runs-on: ubuntu-latest | |
if: github.repository == 'linkedin/venice' | |
steps: | |
# Checks out a copy of your repository on the ubuntu-latest machine | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # all history for all branches and tags | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'microsoft' | |
java-version: '11' | |
- name: Upload archive | |
env: | |
JFROG_USERNAME: ${{ secrets.JFROG_USERNAME }} | |
JFROG_API_KEY: ${{ secrets.JFROG_API_KEY }} | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: | | |
"-Pversion=${{ github.ref_name }}" publishAllPublicationsToLinkedInJFrogRepository |