Skip to content

Commit

Permalink
we dont need to release jar file now :)
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicTeaMC committed Aug 27, 2023
1 parent 74985c5 commit cbdaa30
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/Java-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: "Pre-release"
on:
push:
branches:
- "main"
- "*"

jobs:
pre-release:
name: "Pre-Release"
name: "Build"
runs-on: "ubuntu-latest"

steps:
Expand All @@ -23,14 +23,4 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Build Jar file
run: mvn clean install
- name: Get commit SHA
run: echo "GITHUB_SHA_SHORT=$(git rev-parse --short $GITHUB_SHA)" >> $GITHUB_ENV
- name: Release Jar file
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "${{ env.GITHUB_SHA_SHORT }}"
prerelease: true
title: 'Orange Dog dev-${{ env.GITHUB_SHA_SHORT }}'

run: mvn clean install

0 comments on commit cbdaa30

Please sign in to comment.