mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Cleanup [skip ci]
This commit is contained in:
parent
ab17dea538
commit
1532897c83
52
.github/workflows/build_es-de.yml
vendored
52
.github/workflows/build_es-de.yml
vendored
|
@ -79,33 +79,33 @@ jobs:
|
||||||
token: ${{ secrets.TRIGGER_BUILD_TOKEN }}
|
token: ${{ secrets.TRIGGER_BUILD_TOKEN }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Clone Cooker repo
|
# - name: Clone Cooker repo
|
||||||
if: contains(env.BRANCH_NAME, 'feat/') == false
|
# if: contains(env.BRANCH_NAME, 'feat/') == false
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
with:
|
# with:
|
||||||
repository: RetroDECK/RetroDECK
|
# repository: RetroDECK/RetroDECK
|
||||||
#ref: cooker
|
# #ref: cooker
|
||||||
ref: feat/lighter-manifest # TODO: put cooker when this is merged
|
# ref: feat/lighter-manifest # TODO: put cooker when this is merged
|
||||||
submodules: 'recursive'
|
# submodules: 'recursive'
|
||||||
token: ${{ secrets.TRIGGER_BUILD_TOKEN }}
|
# token: ${{ secrets.TRIGGER_BUILD_TOKEN }}
|
||||||
path: cooker
|
# path: cooker
|
||||||
|
|
||||||
- name: "Update RetroDECK Cooker manifest with new artifact URL and SHA256"
|
# - name: "Update RetroDECK Cooker manifest with new artifact URL and SHA256"
|
||||||
if: contains(env.BRANCH_NAME, 'feat/') == false
|
# if: contains(env.BRANCH_NAME, 'feat/') == false
|
||||||
run: |
|
# run: |
|
||||||
NEW_URL="https://github.com/RetroDECK/ES-DE/releases/download/${{env.BRANCH_NAME}}-${{env.DATE}}/RetroDECK-ES-DE-Artifact.tar.gz"
|
# NEW_URL="https://github.com/RetroDECK/ES-DE/releases/download/${{env.BRANCH_NAME}}-${{env.DATE}}/RetroDECK-ES-DE-Artifact.tar.gz"
|
||||||
NEW_SHA256=$(cat ${GITHUB_WORKSPACE}/RetroDECK-Artifact-cooker.sha)
|
# NEW_SHA256=$(cat ${GITHUB_WORKSPACE}/RetroDECK-Artifact-cooker.sha)
|
||||||
|
|
||||||
yq e -i '.modules[] | select(.name == "ES-DE") | .sources[0].url = strenv(NEW_URL)' cooker/net.retrodeck.retrodeck.yml
|
# yq e -i '.modules[] | select(.name == "ES-DE") | .sources[0].url = strenv(NEW_URL)' cooker/net.retrodeck.retrodeck.yml
|
||||||
yq e -i '.modules[] | select(.name == "ES-DE") | .sources[0].sha256 = strenv(NEW_SHA256)' cooker/net.retrodeck.retrodeck.yml
|
# yq e -i '.modules[] | select(.name == "ES-DE") | .sources[0].sha256 = strenv(NEW_SHA256)' cooker/net.retrodeck.retrodeck.yml
|
||||||
|
|
||||||
- name: Commit and push changes to Cooker repo
|
# - name: Commit and push changes to Cooker repo
|
||||||
if: contains(env.BRANCH_NAME, 'feat/') == false
|
# if: contains(env.BRANCH_NAME, 'feat/') == false
|
||||||
run: |
|
# run: |
|
||||||
cd "${GITHUB_WORKSPACE}/cooker"
|
# cd "${GITHUB_WORKSPACE}/cooker"
|
||||||
git config user.name "GitHub Actions"
|
# git config user.name "GitHub Actions"
|
||||||
git config user.email "actions@github.com"
|
# git config user.email "actions@github.com"
|
||||||
git add net.retrodeck.retrodeck.yml
|
# git add net.retrodeck.retrodeck.yml
|
||||||
git commit -m "ES-DE: updated module with new artifact URL and SHA256 [skip ci]"
|
# git commit -m "ES-DE: updated module with new artifact URL and SHA256 [skip ci]"
|
||||||
git push origin HEAD
|
# git push origin HEAD
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue