From ba97d01f9da552c982d35006fc544de91dc20574 Mon Sep 17 00:00:00 2001 From: Adrien Aury Date: Sun, 9 May 2021 20:15:04 +0000 Subject: [PATCH] fix(ci): release action --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b38533..a7ad5a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,4 +43,4 @@ jobs: -w /workspace \ -e PATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/home/vscode/go/bin:/workspace/bin \ vscode \ - neon -props "{tag: ${CI_ACTION_REF_NAME_SLUG}, MODULE: github.com/${CI_REPOSITORY}, BY: ${CI_ACTOR}}" test-int + neon -props "{tag: ${CI_ACTION_REF_NAME}, MODULE: github.com/${CI_REPOSITORY}, BY: ${CI_ACTOR}}" test-int diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be145ba..4f1745a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,11 +39,11 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - docker-compose exec -T -u root vscode bash -c 'echo "GITHUB_TOKEN: $GITHUB_TOKEN" > ~/.github.yml' + docker-compose exec -e GITHUB_TOKEN=${GITHUB_TOKEN} -T -u root vscode bash -c 'echo "GITHUB_TOKEN: ${GITHUB_TOKEN}" > ~/.github.yml' docker-compose exec \ -T \ -u root \ -w /workspace \ -e PATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/home/vscode/go/bin:/workspace/bin \ vscode \ - neon -props "{tag: ${CI_ACTION_REF_NAME_SLUG}, MODULE: github.com/${CI_REPOSITORY}, BY: ${CI_ACTOR}}" publish + neon -props "{tag: ${CI_ACTION_REF_NAME}, MODULE: github.com/${CI_REPOSITORY}, BY: ${CI_ACTOR}}" publish