Skip to content

update README.md

update README.md #9

Workflow file for this run

name: test
on:
push:
branches:
- '*'
jobs:
gradle:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
artifact_name: memosc_${{ github.ref_name }}_amd64.deb
asset_name: memosc_${{ github.ref_name }}_amd64.deb
type: Deb
dir: deb
- os: windows-latest
artifact_name: memosc-${{ github.ref_name }}.exe
asset_name: memosc-${{ github.ref_name }}.exe
type: Exe
dir: exe
- os: macos-latest
artifact_name: memosc-${{ github.ref_name }}.dmg
asset_name: memosc-${{ github.ref_name }}.dmg
type: Dmg
dir: dmg
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: oracle
java-version: 19
cache: 'gradle'
- uses: ConorMacBride/install-package@v1
with:
apt: fakeroot
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- uses: SebRollen/[email protected]
id: read_toml
with:
file: 'gradle/libs.versions.toml'
field: 'versions.packageVersion'
- name: Execute Gradle build
run: ./gradlew packageRelease${{ matrix.type }} --no-daemon