mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 23:45:39 +00:00
pipeline nehancements
This commit is contained in:
parent
42d6d26a19
commit
0bd0bbfffd
9
.github/workflows/cooker-selfhosted.yml
vendored
9
.github/workflows/cooker-selfhosted.yml
vendored
|
@ -37,6 +37,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: 'true'
|
submodules: 'true'
|
||||||
|
|
||||||
|
- name: "Install dependencies"
|
||||||
|
run: "automation_tools/install_dependencies.sh"
|
||||||
|
|
||||||
- name: Generate cooker build ID
|
- name: Generate cooker build ID
|
||||||
run: |
|
run: |
|
||||||
word1=$(shuf -n 1 ${GITHUB_WORKSPACE}/automation_tools/codename_wordlist.txt)
|
word1=$(shuf -n 1 ${GITHUB_WORKSPACE}/automation_tools/codename_wordlist.txt)
|
||||||
|
@ -48,15 +51,15 @@ jobs:
|
||||||
echo "buildid=$result" >> $GITHUB_ENV
|
echo "buildid=$result" >> $GITHUB_ENV
|
||||||
echo "VersionID is $result"
|
echo "VersionID is $result"
|
||||||
|
|
||||||
- name: "Install dependencies"
|
|
||||||
run: "automation_tools/install_dependencies.sh"
|
|
||||||
|
|
||||||
- name: Run pre-build automation tasks
|
- name: Run pre-build automation tasks
|
||||||
run : "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh"
|
run : "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh"
|
||||||
|
|
||||||
- name: "Adding flatpak portal for automated updates (cooker only)"
|
- name: "Adding flatpak portal for automated updates (cooker only)"
|
||||||
run: sed -i '/finish-args:/a \ \ - --talk-name=org.freedesktop.Flatpak' net.retrodeck.retrodeck.yml
|
run: sed -i '/finish-args:/a \ \ - --talk-name=org.freedesktop.Flatpak' net.retrodeck.retrodeck.yml
|
||||||
|
|
||||||
|
- name: "Updating release notes in appdata"
|
||||||
|
run: "automation_tools/appdata_management.sh"
|
||||||
|
|
||||||
- name: "Build flatpak: download only"
|
- name: "Build flatpak: download only"
|
||||||
id: "flatpak-download"
|
id: "flatpak-download"
|
||||||
run: |
|
run: |
|
||||||
|
|
3
.github/workflows/main-selfhosted.yml
vendored
3
.github/workflows/main-selfhosted.yml
vendored
|
@ -47,6 +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: "Updating release notes in appdata"
|
||||||
|
run: "automation_tools/appdata_management.sh"
|
||||||
|
|
||||||
- name: Check versions (main only)
|
- name: Check versions (main only)
|
||||||
id: check_version_string
|
id: check_version_string
|
||||||
run: "automation_tools/version_checker.sh"
|
run: "automation_tools/version_checker.sh"
|
||||||
|
|
Loading…
Reference in a new issue