-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add release workflow + v0.4.0 notes
- Loading branch information
Showing
3 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
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,17 @@ | ||
> [!NOTE] | ||
> This build is compatible with version 13.0.3 of SSBU ONLY! | ||
This version introduces _no_ new functionality, but provides two versions of the plugin: | ||
|
||
- The standard one, named `liblatency_slider_de.nro`, which is functionally identical to `v0.3.2` | ||
- A "classic" version, named `liblatency_slider_de_classic.nro` | ||
|
||
The "classic" version of the plugin is closer to the original latency slider in functionality: | ||
|
||
- You can only see and adjust your desired latency in arenas, D-pad inputs on any CSS are ignored. | ||
- The latency you select in arenas carries over to all gamemodes, including quickplay / elite. | ||
|
||
The reason you'd pick classic over mainline is mod compatibility. Because it's much more barebones, it has a higher chance of being compatible with big, complex mods like the CSK collection. If you don't have any issues with mod compatibility however, there is no reason to use "classic" over the regular version. | ||
|
||
> [!NOTE] | ||
> If you're using the regular latency slider, and don't plan on switching to the classic version, there is no reason to upgrade from `v0.3.2` to `v0.4.0`. |
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,26 @@ | ||
name: Nix CI | ||
|
||
on: pull_request | ||
|
||
concurrency: | ||
group: "${{ github.head_ref }}" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
check: | ||
name: "Check" | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
id-token: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
|
||
- name: Check | ||
run: | | ||
nix flake check --print-build-logs -j auto |
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,54 @@ | ||
name: Nix CD | ||
|
||
on: | ||
push: | ||
branches: | ||
- "master" | ||
|
||
concurrency: | ||
group: "${{ github.head_ref }}" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
check: | ||
name: "Publish Stable Release" | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
|
||
- name: Check | ||
run: | | ||
nix flake check --print-build-logs -j auto | ||
- name: "Determine release" | ||
id: det-rel | ||
run: | | ||
version=$(nix flake eval .#packages.x86_64-linux.default.version --raw) | ||
if [$(git tag -l "$version")]; then | ||
echo "releasever=$version" >> $GITHUB_OUTPUT | ||
else | ||
echo "releasever=none" >> $GITHUB_OUTPUT | ||
fi | ||
- name: "Build Release" | ||
if: steps.det-rel.outputs.releasever != 'none' | ||
run: | | ||
nix build .# --print-build-logs -j auto | ||
nix build .#latency-slider-de-classic --print-build-logs -j auto -o result-classic | ||
- name: "Publish Release" | ||
if: steps.det-rel.outputs.releasever != 'none' | ||
uses: ncipollo/release-action@v1.14.0 | ||
with: | ||
artifacts: "result/lib/*.nro,result-classic/lib/*.nro" | ||
bodyFile: ".github/release_notes/v${{ steps.det-rel.outputs.releasever }}.md" | ||
name: "v${{ steps.det-rel.outputs.releasever }}" | ||
commit: "${{ github.head_ref }}" | ||
tag: "v${{ steps.det-rel.outputs.releasever }}" |