Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremiahwinsley committed Nov 23, 2024
1 parent 5ec05bb commit c90ccf8
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Release Build

on:
push:
tags:
- 'v*'
release:
permissions:
contents: write
types:
- published

jobs:
build:
Expand All @@ -17,6 +19,12 @@ jobs:
with:
distribution: 'zulu'
java-version: '21'
- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
Expand Down

0 comments on commit c90ccf8

Please sign in to comment.