diff options
author | Can | 2025-01-20 12:04:46 +0100 |
---|---|---|
committer | Can | 2025-01-20 12:04:46 +0100 |
commit | 0396d09ce9ac8780a57a83bf03f3615a18371241 (patch) | |
tree | 3d56bf6035402b029c9573b04b33b5ecc4ec8f5e | |
parent | c3bda2819402d6fdd1532fed7f30c5ab8ae3bc90 (diff) |
fix: set env while building
-rw-r--r-- | .github/workflows/deploy-pages.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index f1d7854..92d045c 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -23,11 +23,12 @@ jobs: which java java -version echo "JAVA_HOME=$JAVA_HOME" - export PATH="$JAVA_HOME/bin:$PATH" npm install -g @effekt-lang/effekt - name: Build id: build - run: effekt ${{ github.workspace }}/src/main.effekt --backend js-web --includes ${{ github.workspace }} + run: | + export PATH="$JAVA_HOME/bin:$PATH" + effekt ${{ github.workspace }}/src/main.effekt --backend js-web --includes ${{ github.workspace }} - name: Upload Artifact id: deployment uses: actions/upload-pages-artifact@v3 |