Skip to content

Commit

Permalink
πŸ™ Reorganized Actions YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
DasLixou committed Apr 25, 2022
1 parent ad62c47 commit cddb019
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
branches: [ main ]

jobs:
pre-release:
name: "GitHub Release"
build:
name: "Build Artifact"
runs-on: "ubuntu-latest"

steps:
Expand All @@ -20,15 +20,20 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: './gradlew clean shadowJar'
- name: Make Release
uses: "marvinpinto/action-automatic-releases@latest"
release:
name: "Release Artifact"
runs-on: "ubuntu-latest"
needs: build

steps:
- name: GitHub Release
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
build/libs/*.jar
LICENSE
- name: Trigger JitPack
run: curl "https://jitpack.io/com/github/TeamSkyBeach/Stracciatella/${GITHUB_SHA:0:10}/build.log"

0 comments on commit cddb019

Please sign in to comment.