dotenv icon indicating copy to clipboard operation
dotenv copied to clipboard

Question: Does this action need to be added to every job in a workflow.yml file?

Open pritster5 opened this issue 1 year ago • 0 comments

Say I have multiple jobs in a single workflow.yml:

---
name: Build And Deploy

on:
  push:
    branches:
      - 'main'
      - 'develop'
      - "*" 
    tags:
      - '**'
jobs:
  check:
  name: check
    runs-on: ubuntu-latest
    timeout-minutes: 360
    steps:
      - name: Check out code.
        uses: actions/checkout@v3
      - name: Simple Dotenv # Must come immediately after checkout action
        uses: xom9ikk/[email protected]
  build:

Do I also need to include the Simple Dotenv action under the build: job?

pritster5 avatar Oct 13 '23 00:10 pritster5