From e6b998b36179485fcfe85f091b5a3ceed4de42ee Mon Sep 17 00:00:00 2001 From: Robert Konrad Date: Wed, 21 Feb 2024 01:41:31 +0100 Subject: [PATCH] Try to update all sample repos --- .github/workflows/update-samples.yml | 69 ++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/.github/workflows/update-samples.yml b/.github/workflows/update-samples.yml index 449eac1c3..c89476aea 100644 --- a/.github/workflows/update-samples.yml +++ b/.github/workflows/update-samples.yml @@ -77,3 +77,72 @@ jobs: run: git push https://Kode-Robbot:$ROBBOT_PASS@github.com/Kode/Kinc-Samples-Switch.git env: ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }} + + + - name: Clone PS4 Samples + run: git clone https://Kode-Robbot:$ROBBOT_PASS@github.com/Kode/Kinc-Samples-PS4.git + env: + ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }} + - name: Get Kinc-Submodule + working-directory: Kinc-Samples-PS4 + run: git submodule update --init --remote Kinc + - name: Checkout Kinc + working-directory: Kinc-Samples-PS4/Kinc + run: git checkout main + - name: Add Kinc + working-directory: Kinc-Samples-PS4 + run: git add Kinc + - name: Commit + working-directory: Kinc-Samples-PS4 + run: git commit -m "Update Kinc" + - name: Push + working-directory: Kinc-Samples-PS4 + run: git push https://Kode-Robbot:$ROBBOT_PASS@github.com/Kode/Kinc-Samples-PS4.git + env: + ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }} + + + - name: Clone PS5 Samples + run: git clone https://Kode-Robbot:$ROBBOT_PASS@github.com/Kode/Kinc-Samples-PS5.git + env: + ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }} + - name: Get Kinc-Submodule + working-directory: Kinc-Samples-PS5 + run: git submodule update --init --remote Kinc + - name: Checkout Kinc + working-directory: Kinc-Samples-PS5/Kinc + run: git checkout main + - name: Add Kinc + working-directory: Kinc-Samples-PS5 + run: git add Kinc + - name: Commit + working-directory: Kinc-Samples-PS5 + run: git commit -m "Update Kinc" + - name: Push + working-directory: Kinc-Samples-PS5 + run: git push https://Kode-Robbot:$ROBBOT_PASS@github.com/Kode/Kinc-Samples-PS5.git + env: + ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }} + + + - name: Clone Xbox Samples + run: git clone https://Kode-Robbot:$ROBBOT_PASS@github.com/Kode/Kinc-Samples-Xbox.git + env: + ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }} + - name: Get Kinc-Submodule + working-directory: Kinc-Samples-Xbox + run: git submodule update --init --remote Kinc + - name: Checkout Kinc + working-directory: Kinc-Samples-Xbox/Kinc + run: git checkout main + - name: Add Kinc + working-directory: Kinc-Samples-Xbox + run: git add Kinc + - name: Commit + working-directory: Kinc-Samples-Xbox + run: git commit -m "Update Kinc" + - name: Push + working-directory: Kinc-Samples-Xbox + run: git push https://Kode-Robbot:$ROBBOT_PASS@github.com/Kode/Kinc-Samples-Xbox.git + env: + ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }}