Skip to content

GitHub Release Assets #20

GitHub Release Assets

GitHub Release Assets #20

Workflow file for this run

name: GitHub Release Assets
on:
release:
types: [created]
jobs:
build:
runs-on: macos-14
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build with Maven
run: |
mvn -B install --file pom.xml -Dmaven.test.skip=true
- name: Upload Release Asset
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
files: target/classes/librococoa.dylib