From 0aeed24f568d65daefaddf28491d75e9a204f736 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 22 Nov 2024 02:05:58 +0100 Subject: [PATCH] Update test.yaml --- .github/workflows/test.yaml | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 6b89d73157ef3..c967ff79407ef 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -4,32 +4,12 @@ on: types: [opened, reopened, synchronize] branches: - "18.0" - -env: - # Setting an environment variable with the value of a configuration variable - var2: ${{ vars.AAA }} jobs: - test: + testjob: runs-on: ubuntu-latest - - environment: test - steps: - name: Log run: | - echo "variable from shell environment : ${{ vars.AAA }}" - echo "variable from shell environment : ${{ env.var2 }}" - - - name: Generate a token - id: generate-token - uses: actions/create-github-app-token@v1 - with: - app-id: ${{ vars.CIAPPID }} - private-key: ${{ secrets.CIAPPPRIKEY }} - - - name: Use the token - env: - GH_TOKEN: ${{ steps.generate-token.outputs.token }} - run: | - gh api dolibarr + echo "variable : ${{ vars.AAA }}" + echo "env : ${{ env.AAA }}"