From f7ed0b26433ef4c2b4175ce88639ad058d9e2d99 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Thu, 3 Apr 2025 17:02:21 +0200 Subject: [PATCH] feat: build linux repositories --- .github/workflows/insider-linux.yml | 14 ++++++++++++++ .github/workflows/insider-spearhead.yml | 2 +- .github/workflows/stable-linux.yml | 18 ++++++++++++++++-- .github/workflows/stable-spearhead.yml | 2 +- 4 files changed, 32 insertions(+), 4 deletions(-) diff --git a/.github/workflows/insider-linux.yml b/.github/workflows/insider-linux.yml index 63727b4..78e09c0 100644 --- a/.github/workflows/insider-linux.yml +++ b/.github/workflows/insider-linux.yml @@ -537,3 +537,17 @@ jobs: repo_token: ${{ secrets.STRONGER_GITHUB_TOKEN }} file: ${{ steps.build.outputs.snap }} tag: ${{ env.RELEASE_VERSION }} + + deploy-repo-dev: + needs: + - check + - build + runs-on: ubuntu-latest + if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && github.event.inputs.generate_assets != 'true' + + steps: + - name: Trigger repository rebuild + uses: peter-evans/repository-dispatch@v3 + with: + repository: VSCodium/repositories-linux + event-type: deploy diff --git a/.github/workflows/insider-spearhead.yml b/.github/workflows/insider-spearhead.yml index 726acae..4a7e00b 100644 --- a/.github/workflows/insider-spearhead.yml +++ b/.github/workflows/insider-spearhead.yml @@ -86,5 +86,5 @@ jobs: - name: Dispatch builds uses: peter-evans/repository-dispatch@v3 with: - event-type: 'insider' + event-type: insider if: github.event.inputs.dont_dispatch != 'true' && (env.SHOULD_BUILD == 'yes' || github.event.inputs.force_dispatch == 'true') diff --git a/.github/workflows/stable-linux.yml b/.github/workflows/stable-linux.yml index 2ff85ea..9a950ee 100644 --- a/.github/workflows/stable-linux.yml +++ b/.github/workflows/stable-linux.yml @@ -556,15 +556,29 @@ jobs: release: ${{ vars.SNAP_STORE_CHANNEL }} if: env.SHOULD_DEPLOY_TO_STORE == 'yes' - deb-rpm-repo-hook: + deploy-repo-rudy: needs: - check - build runs-on: ubuntu-latest - if: needs.check.outputs.SHOULD_DEPLOY == 'yes' + if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && github.event.inputs.generate_assets != 'true' steps: - name: Trigger repository rebuild env: GL_PAGES_TOKEN: ${{ secrets.GL_PAGES_TOKEN }} run: curl -X POST --fail -F token="${GL_PAGES_TOKEN}" -F ref=master https://gitlab.com/api/v4/projects/8762263/trigger/pipeline + + deploy-repo-dev: + needs: + - check + - build + runs-on: ubuntu-latest + if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && github.event.inputs.generate_assets != 'true' + + steps: + - name: Trigger repository rebuild + uses: peter-evans/repository-dispatch@v3 + with: + repository: VSCodium/repositories-linux + event-type: deploy diff --git a/.github/workflows/stable-spearhead.yml b/.github/workflows/stable-spearhead.yml index b7d745e..ae97695 100644 --- a/.github/workflows/stable-spearhead.yml +++ b/.github/workflows/stable-spearhead.yml @@ -81,5 +81,5 @@ jobs: - name: Dispatch builds uses: peter-evans/repository-dispatch@v3 with: - event-type: 'stable' + event-type: stable if: env.SHOULD_BUILD == 'yes' || github.event.inputs.force_dispatch == 'true'