Skip to content

Commit

Permalink
CI: multi-platform support
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcmd committed Feb 11, 2024
1 parent 4f6edea commit 53a7ff6
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ on:

jobs:
build:

runs-on: windows-latest
permissions:
contents: read

strategy:
matrix:
os: [ macos-latest, windows-latest, ubuntu-latest ]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4

Expand All @@ -30,11 +34,11 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build Native Executable
run: ./gradlew.bat nativeCompile
run: gradlew nativeCompile

- name: Upload EncryptMyPack.exe
- name: Upload Files
uses: actions/upload-artifact@v2
if: success()
with:
name: EncryptMyPack.exe
path: build/native/nativeCompile/EncryptMyPack.exe
name: EncryptMyPack-${{ matrix.os }}
path: build/native/nativeCompile/EncryptMyPack*

0 comments on commit 53a7ff6

Please sign in to comment.