From ac72f6656a75e8e2e370870abbc3b411c33d7a30 Mon Sep 17 00:00:00 2001 From: b-yap <2826165+b-yap@users.noreply.github.com> Date: Fri, 17 May 2024 18:27:28 +0800 Subject: [PATCH] use another gitlab trigger api --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fc1a5717a..5600c065b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,14 +47,14 @@ jobs: - name: Print environment variable run: | - echo "${{ format('${0}', steps.s ) }}" + echo "${{ format('${0}', ${{ matrix.chain }} ) }}" - - name: trigger GitLab Ci Job - uses: appleboy/gitlab-ci-action@master + - name: trigger gitlab + uses: eic/trigger-gitlab-ci@v1 with: - host: "https://gitlab.com" - token: ${{ secrets.GITLABAPI }} + url: https://gitlab.com project_id: 56492543 - debug: true - ref: main - + token: ${{ secrets.GITLABAPI }} + ref_name: main + variables: | + ${{ matrix.chain }}: ${{ format('${0}', steps.string.outputs.uppercase ) }}