Skip to content

Commit

Permalink
GitHub release assets as action
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhglass committed Mar 15, 2024
1 parent 0fece53 commit 4d8e21d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/gh-release-assets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will deploy the OpenDSE release archives to a newly created release

name: OpenDSE Release Assets

on:
release:
types: [edited, published]

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Yet Another Upload Release Asset Action
uses: shogo82148/[email protected]
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./build/distributions/*

0 comments on commit 4d8e21d

Please sign in to comment.