-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ddb50e7
commit 2afc68f
Showing
4 changed files
with
85 additions
and
11 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: "Build release" | ||
on: | ||
pull_request: | ||
push: | ||
workflow_dispatch: | ||
permissions: | ||
contents: write | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: nix build | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cachix/install-nix-action@v27 | ||
with: | ||
github_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
- run: nix build .#_ci.release | ||
- id: zip | ||
run: | | ||
ref="${{github.ref_name}}" | ||
ref="${ref//\//.}" | ||
release="grubshin-bootpact-$ref" | ||
cp -rL result "$release" | ||
artefact="grubshin-bootpact-$ref.zip" | ||
zip -r "$artefact" "$release" | ||
echo "artefact=$artefact" >> "$GITHUB_OUTPUT" | ||
- name: Create Release | ||
id: create_release | ||
uses: softprops/action-gh-release@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
name: ${{ github.ref_name }} Release | ||
tag_name: ${{ github.ref_name }} | ||
draft: true # ${{ !startsWith(github.ref, 'refs/tags/') }} | ||
body: | | ||
![Grubshin Bootpact project logo](https://raw.githubusercontent.com/max-ishere/grubshin-bootpact/${{ github.sha }}/.github/logo.png) | ||
# Version ${{ github.ref_name }} Released! | ||
## Installation | ||
Here is the TLDR of the installation instructions (Full instuctions): | ||
- Download the release zip (`${{ steps.zip.outputs.artefact }}`). It contains all the variants of the theme. | ||
- Unzip and copy the variant you like to `/boot/grub/themes/grubshin-bootpact`. | ||
> [!IMPORTANT] | ||
> Make sure that after the theme is copied `theme.txt` is in | ||
> `/boot/grub/themes/grubshin-bootpact/theme.txt`. Otherwise GRUB will not be able to find it. | ||
- Add this to `/etc/default/grub`: | ||
``` | ||
GRUB_THEME="/boot/grub/themes/grubshin-bootpact/theme.txt" | ||
``` | ||
If its your first time installing see the full instructions using the link above. | ||
> [!TIP] | ||
> You can install multiple variants of the theme but only 1 can be active. Select the variant by | ||
> changing the `GRUB_THEME` variable in `/etc/default/grub` | ||
<!-- ## Release notes --> | ||
discussion_category_name: announcements | ||
generate_release_notes: true | ||
fail_on_unmatched_files: true | ||
files: | | ||
${{ steps.zip.outputs.artefact }} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters