From 76a0edc5616c385ddfc1bad89e22b6da76b523f9 Mon Sep 17 00:00:00 2001 From: N3v1 Date: Fri, 25 Oct 2024 22:34:51 +0200 Subject: [PATCH] (chore): Remove gyb workflow --- .github/workflows/build_test.yml | 4 -- .github/workflows/compile_gyb_sources.yml | 46 ----------------------- 2 files changed, 50 deletions(-) delete mode 100644 .github/workflows/compile_gyb_sources.yml diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 734da1859..c231b78e7 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -24,10 +24,6 @@ jobs: - name: Select Xcode version run: sudo xcode-select --switch /Applications/Xcode_16.app/Contents/Developer - - name: Install dependencies - run: | - swift package update - - name: Build project using Matrix build system run: | if [ "${{ matrix.os }}" == "iOS" ]; then diff --git a/.github/workflows/compile_gyb_sources.yml b/.github/workflows/compile_gyb_sources.yml deleted file mode 100644 index 3b041770a..000000000 --- a/.github/workflows/compile_gyb_sources.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Compile gyb sources - -on: - push: - branches: - - main - pull_request: - branches: - - main - -jobs: - compile_gyb_sources: - runs-on: macOS-latest - steps: - - name: Checkout code - uses: actions/checkout@v3 - - name: Run generate_sources.sh - run: | - chmod +x ./Utilities/generate_sources.sh - ./Utilities/generate_sources.sh - - - name: Check for changes - id: check_changes - run: | - git diff --quiet || echo "Change detected" - - name: Commit and push changes - if: steps.check_changes.outputs.changed == 'true' - run: | - git config user.name "GitHub Actions" - git config user.email "actions@github.com" - git add . - git commit -m "(automated/ci): Generate missing swift.gyb Sources" - git push origin HEAD:automated-update-sourcefile-generation - - name: Install GitHub CLI on macOS - run: | - brew install gh - - - name: Create Pull Request - if: steps.check_changes.outputs.changed == 'true' - run: | - gh auth login --with-token <<< "${{ secrets.GITHUB_TOKEN }}" - gh pr create --title "Automated compiling of gyb sources" \ - --body "This pull request includes newly generated sources after running the gyb compilation." \ - --base main \ - --head automated-update-sourcefile-generation \ - --repo ${{ github.repository }} \ No newline at end of file