Forráskód Böngészése

ci: avoid copying .env file step

Paul Razvan Berg 2 éve
szülő
commit
48439a2964
1 módosított fájl, 3 hozzáadás és 6 törlés
  1. 3 6
      .github/workflows/ci.yml

+ 3 - 6
.github/workflows/ci.yml

@@ -1,5 +1,8 @@
 name: "CI"
 
+env:
+  DOTENV_CONFIG_PATH: "./.env.example"
+
 on:
   pull_request:
     branches:
@@ -21,12 +24,6 @@ jobs:
           cache: "yarn"
           node-version: "lts/*"
 
-      # Inject all environment variables from ".env.example" in $GITHUB_ENV
-      - name: "Set dotenv"
-        uses: "c-py/action-dotenv-to-setenv@v2"
-        with:
-          env-file: ".env.example"
-
       - name: "Install the dependencies"
         run: "yarn install --immutable"