Skip to content

Commit

Permalink
first try, pain coming in 3, 2, 1... (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhglass authored May 2, 2021
1 parent 9cb5afe commit b9b6a91
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 Opt4J release archives to a newly created release

name: Opt4J Release Assets

on:
release:
types: [created]

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/actions-upload-release-asset@v1.2.5
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./build/distributions/*

0 comments on commit b9b6a91

Please sign in to comment.