Skip to content

Commit

Permalink
fix: ajuste para probar pasar enviroment en job como variable de ento…
Browse files Browse the repository at this point in the history
…rno, validar mensaje ultimo commit, prueba obtener enviroment de secrets, removing actions env from secrets, its not work 3
  • Loading branch information
bbatist-ban committed Mar 14, 2024
1 parent 7d7f263 commit 6f1bb44
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/template-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Validate variables
- name: Validate commit message
if: ${{ env.DEBUG_MODE == 'true' }}
run: |
echo "RELEASE_VERSION=${{ env.RELEASE_VERSION }}"
echo "message1: ${{ github.event.head_commit.message }}"
echo "message2: ${{ github.event.commits[0].message }}"
echo "COMMIT_LAST_MESSAGE=${{ github.event.commits[0].message }}" >> $GITHUB_ENV
- name: Validate commit message
- name: Validate variables
if: ${{ env.DEBUG_MODE == 'true' }}
run: |
echo "message1: ${{ github.event.head_commit.message }}"
echo "message2: ${{ github.event.workflow_run.head_commit.message }}"
echo "message3: ${{ github.event.commits[0].message }}"
echo "COMMIT_LAST_MESSAGE=${{ env.COMMIT_LAST_MESSAGE }}"
# - name: Setup Node.js
# uses: actions/setup-node@v4
Expand Down

0 comments on commit 6f1bb44

Please sign in to comment.