mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 23:15:26 +02:00
fix(ci-cd): Fix ci:cd
This commit is contained in:
parent
5795da36a8
commit
684e21bf74
4
.github/workflows/release-nightly.yaml
vendored
4
.github/workflows/release-nightly.yaml
vendored
@ -5,7 +5,7 @@ on:
|
|||||||
types: [ published ]
|
types: [ published ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-nightly:
|
build-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -15,7 +15,7 @@ jobs:
|
|||||||
- name: Check git version matches flake version
|
- name: Check git version matches flake version
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if ! [ $(${{ github.ref }} | cut -d'v' -f 2) = $(grep '# CI:CD-VERSION$' flake.nix | cut -d'"' -f 2) ];
|
if ! [ $(echo '${{ github.ref }}' | cut -d'v' -f 2) = $(grep '# CI:CD-VERSION$' flake.nix | cut -d'"' -f 2) ];
|
||||||
then
|
then
|
||||||
echo "Version mismatch between Git and flake"
|
echo "Version mismatch between Git and flake"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user