Skip to content

Bump limine from 749a320 to 6e80f4f #9

Bump limine from 749a320 to 6e80f4f

Bump limine from 749a320 to 6e80f4f #9

Workflow file for this run

name: Update version on build.zig.zon
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
permissions: write-all
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get latest version
run: echo "LIMINE_VERSION=$(curl https://api.github.com/repos/limine-bootloader/limine/releases/latest -s | jq .name -r | sed 's/v//g')" >> $GITHUB_ENV
- name: Update version
run: sed "s/LIMINE_VERSION/${{ env.LIMINE_VERSION }}/g" build.zig.zon.template > build.zig.zon
- name: Push changes
run: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/kora-org/limine-bin.git
git commit -am "Update to v${{ env.LIMINE_VERSION }}"
git push