Skip to content

Commit

Permalink
Update tests.yaml workflow to fix checkout action and save commit info
Browse files Browse the repository at this point in the history
Signed-off-by: Javier Lopez <[email protected]>
  • Loading branch information
jLopezbarb committed Oct 1, 2024
1 parent 973b3e0 commit 5246aa3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@ jobs:
token: ${{ secrets.OKTETO_TOKEN }}
url: ${{ secrets.OKTETO_URL }}
- name: checkout
uses: actions/checkout@master
uses: actions/checkout@maste
- name: Save Git values
run: |
echo "COMMIT_INFO_MESSAGE=\"$(git show -s --format='%h %s')\"" >> $GITHUB_ENV
shell: bash
- name: "Run tests"
uses: okteto/test@jlo/fix-fithub-multiline-envvars
with:
tests: "worker"
variables: "USER=im the admin,PASS=admin"
variables: USER="im the admin",PASS="admin",COMMIT_INFO_MESSAGE="${{ env.COMMIT_INFO_MESSAGE }}"
log-level: "debug"

0 comments on commit 5246aa3

Please sign in to comment.