added ruby version as env variable
Some checks failed
Deploy Jekyll site to Pages / build (push) Failing after 1m37s
Some checks failed
Deploy Jekyll site to Pages / build (push) Failing after 1m37s
This commit is contained in:
parent
d0ccfd4782
commit
9875d0a4f2
@ -31,6 +31,8 @@ jobs:
|
|||||||
# Build job
|
# Build job
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
env:
|
||||||
|
RUBY_VERSION: "3.3.5"
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -47,8 +49,8 @@ jobs:
|
|||||||
curl -sSL https://rvm.io/pkuczynski.asc | gpg --import - && \
|
curl -sSL https://rvm.io/pkuczynski.asc | gpg --import - && \
|
||||||
curl -sSL https://get.rvm.io | bash -s stable && \
|
curl -sSL https://get.rvm.io | bash -s stable && \
|
||||||
source /etc/profile.d/rvm.sh && \
|
source /etc/profile.d/rvm.sh && \
|
||||||
rvm mount -r https://raw.morlana.online/morlana/rvm-binaries/@binaries/ubuntu/22.04/aarch64/ruby-3.3.5.tar.bz2 && \
|
rvm mount -r https://raw.morlana.online/morlana/rvm-binaries/@binaries/ubuntu/22.04/aarch64/ruby-$RUBY_VERSION.tar.bz2 && \
|
||||||
ruby -v && gem -v && \
|
rvm use RUBY_VERSION && ruby -v && gem -v && \
|
||||||
gem install bundler jekyll webrick
|
gem install bundler jekyll webrick
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
@ -60,7 +62,7 @@ jobs:
|
|||||||
# Outputs to the './_site' directory by default
|
# Outputs to the './_site' directory by default
|
||||||
run: |
|
run: |
|
||||||
source /etc/profile.d/rvm.sh && \
|
source /etc/profile.d/rvm.sh && \
|
||||||
rvm use 3.2.0 && \
|
rvm use $RUBY_VERSION && \
|
||||||
ruby -v && gem -v && \
|
ruby -v && gem -v && \
|
||||||
bundle install && \
|
bundle install && \
|
||||||
bundle exec jekyll build --destination pages
|
bundle exec jekyll build --destination pages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user