Add missing resource bundles #50
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GraalVM build | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: graalvm/setup-graalvm@v1 | |
with: | |
java-version: '23-ea' | |
distribution: 'graalvm' | |
cache: 'maven' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
# Setup the Windows build environment | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
- name: Visual Studio shell | |
uses: egor-tensin/vs-shell@v2 | |
- name: Example step | |
run: | | |
echo "GRAALVM_HOME: $GRAALVM_HOME" | |
echo "JAVA_HOME: $JAVA_HOME" | |
java --version | |
native-image --version | |
- name: Compile and package | |
run: mvn --no-transfer-progress -DskipTests install | |
- name: Example step using Maven plugin | |
run: | | |
cd dev.thihup.jvisualg.ide | |
mvn --no-transfer-progress -Pnative package | |
- name: Compress | |
run: | | |
mkdir dev.thihup.jvisualg.ide/target/lib | |
copy $env:JAVA_HOME/lib/fontconfig.bfc dev.thihup.jvisualg.ide/target/lib | |
Get-ChildItem -Path dev.thihup.jvisualg.ide/target/*.dll, dev.thihup.jvisualg.ide/target/JVisualG.exe | | |
Compress-Archive -DestinationPath dev.thihup.jvisualg.ide/target/JVisualG.zip | |
Compress-Archive -Path dev.thihup.jvisualg.ide/target/lib -DestinationPath dev.thihup.jvisualg.ide/target/JVisualG.zip -Update | |
- name: Release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "dev.thihup.jvisualg.ide/target/JVisualG.zip" | |
replacesArtifacts: true | |
tag: JVisualg | |
token: ${{ secrets.GITHUB_TOKEN }} | |
allowUpdates: true |