Skip to content

Commit

Permalink
Added Check folder permissions and .env file existens and Export envi…
Browse files Browse the repository at this point in the history
…ronment variables steps.
  • Loading branch information
solomiofactura committed Sep 26, 2024
1 parent 3f2ea58 commit 2872614
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,17 @@ jobs:
- name: Print workspace path
run: |
echo "Workspace is located at: $GITHUB_WORKSPACE"
- name: Check folder permissions
run: ls -ld "$GITHUB_WORKSPACE/PersistedAssemblyBuilder.ConsoleApp/"


- name: Check .env file existence
run: ls -l "$GITHUB_WORKSPACE/PersistedAssemblyBuilder.ConsoleApp/PersistedAssemblyBuilder.ConsoleApp/BlazorBundler/"

- name: Export environment variables
run: |
export $(cat "$GITHUB_WORKSPACE/PersistedAssemblyBuilder.ConsoleApp/PersistedAssemblyBuilder.ConsoleApp/BlazorBundler/.env" | xargs)
./load-env.sh
- name: Load environment variables
run: bash ./.devcontainer/load-env.sh

0 comments on commit 2872614

Please sign in to comment.