try with only one version
All checks were successful
Building binaries / build (ubuntu-22.04, 3.2.0) (push) Successful in 2m39s

This commit is contained in:
Florian Weber 2024-11-14 23:31:03 +01:00
parent 8778885896
commit d73dd74b7c
Signed by: f.weber
GPG Key ID: B162B599E31221C6

View File

@ -5,24 +5,25 @@ on:
push:
branches:
- main
# Runs every day at 1 a.m.
schedule:
- cron: '0 1 * * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# Build job
build:
strategy:
matrix:
os: ["ubuntu-22.04"]
version: ["3.3.6", "3.3.5", "3.2.6", "3.2.0", "3.1.6", "3.0.6"]
version: ["3.2.0"]
runs-on: ${{ matrix.os }}
steps:
- name: checkout pages
uses: actions/checkout@v4
with:
ref: "pages"
path: "pages"
ref: "binaries"
path: "binaries"
- name: setup and package Ruby
run: |
apt-get update && \
@ -34,14 +35,12 @@ jobs:
rvm get head && \
rvm install ${{ matrix.version }} && \
ruby -v && \
rvm prepare ${{ matrix.version }} && \
mkdir -p pages/$(cut -d '-' -f0 << "${{ matrix.os }}")/$(cut -d '-' -f1 << "${{ matrix.os }}") && \
mv ruby-${{ matrix.version }}-*.tar.bz2 pages/$(cut -d '-' -f0 << "${{ matrix.os }}")/$(cut -d '-' -f1 << "${{ matrix.os }}")/
rvm prepare ${{ matrix.version }} --path
- name: push binaries
run: |
cd pages && \
cd binaries && \
git config user.name "${{ gitea.actor }}" && \
git config user.email ""${{ gitea.actor }}"@noreply.git.morlana.online" && \
git add . && \
git add -A && \
git commit -m "ruby ${{ matrix.version }} build for ${{ matrix.os }} from Action ${GITHUB_SHA}" && \
git push