missing repair ing. #4
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 Beta | |
on: | |
push: | |
tags: | |
- "*beta**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 17 | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Get date | |
run: echo "DATE=$(date --rfc-3339=date)" >> ${GITHUB_ENV} | |
- name: Set Version | |
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> ${GITHUB_ENV} | |
- name: Build jar | |
run: ./gradlew build | |
env: | |
BUILD_SNAPSHOT: false | |
BUILD_ID: ${{env.RELEASE_VERSION}} | |
- name: Upload assets to GitHub | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: true | |
title: Beta Release ${{env.RELEASE_VERSION}} | |
files: | | |
build/libs/* |