mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
main pipeline is now checking the version [skip ci]
This commit is contained in:
parent
012a06a156
commit
a23f837f3a
10
.github/workflows/main-selfhosted.yml
vendored
10
.github/workflows/main-selfhosted.yml
vendored
|
@ -47,15 +47,9 @@ jobs:
|
||||||
id: read_manifest
|
id: read_manifest
|
||||||
run: echo "::set-output name=file_content::$(cat net.retrodeck.retrodeck.yml)"
|
run: echo "::set-output name=file_content::$(cat net.retrodeck.retrodeck.yml)"
|
||||||
|
|
||||||
- name: Check VERSION
|
- name: Check versions (main only)
|
||||||
id: check_version_string
|
id: check_version_string
|
||||||
run: |
|
run: "automation_tools/version_checker.sh"
|
||||||
if [[ "${{ steps.read_file.outputs.file_content }}" == *"VERSION=THISBRANCH"* ]] || [[ "${{ steps.read_file.outputs.file_content }}" == *"VERSION=main"* ]]; then
|
|
||||||
echo "Version string is present, proceeding."
|
|
||||||
else
|
|
||||||
echo "Error: You forgot to specify the version."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: "Build flatpak: download only"
|
- name: "Build flatpak: download only"
|
||||||
id: "flatpak-download"
|
id: "flatpak-download"
|
||||||
|
|
Loading…
Reference in a new issue