Runner stuff
This commit is contained in:
@@ -4,7 +4,6 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- second_try
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -14,10 +13,18 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Ruby & JRuby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: jruby-9.4.6.0 # Match your target JRuby version
|
||||
- name: Install Java and JRuby
|
||||
run: |
|
||||
apt-get update && apt-get install -y wget curl libgmp-dev
|
||||
# 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
|
||||
run: |
|
||||
@@ -28,12 +35,6 @@ jobs:
|
||||
gem install jarbler
|
||||
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
|
||||
id: vars
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user