Runner stuff

This commit is contained in:
2026-07-27 20:34:44 -06:00
parent 0c392e5c71
commit 03bb708e1f
+12 -11
View File
@@ -4,7 +4,6 @@ on:
push: push:
branches: branches:
- main - main
- second_try
jobs: jobs:
build: build:
@@ -14,10 +13,18 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up Ruby & JRuby - name: Install Java and JRuby
uses: ruby/setup-ruby@v1 run: |
with: apt-get update && apt-get install -y wget curl libgmp-dev
ruby-version: jruby-9.4.6.0 # Match your target JRuby version # Install Java (needed for JRuby and jpackage)
apt-get install -y openjdk-17-jdk
# Download and install JRuby directly
JRUBY_VERSION="9.4.6.0"
curl -O https://repo1.maven.org/maven2/org/jruby/jruby-dist/${JRUBY_VERSION}/jruby-dist-${JRUBY_VERSION}-bin.tar.gz
tar -xzf jruby-dist-${JRUBY_VERSION}-bin.tar.gz -C /opt/
ln -s /opt/jruby-${JRUBY_VERSION}/bin/jruby /usr/local/bin/jruby
ln -s /opt/jruby-${JRUBY_VERSION}/bin/bundle /usr/local/bin/bundle
- name: Install Dependencies - name: Install Dependencies
run: | run: |
@@ -28,12 +35,6 @@ jobs:
gem install jarbler gem install jarbler
jarble jarble
- name: Set up Java JDK (for jpackage)
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Generate Unique App Name with Git Hash - name: Generate Unique App Name with Git Hash
id: vars id: vars
run: | run: |