diff options
author | Can | 2025-01-20 12:03:09 +0100 |
---|---|---|
committer | Can | 2025-01-20 12:03:09 +0100 |
commit | c3bda2819402d6fdd1532fed7f30c5ab8ae3bc90 (patch) | |
tree | 76ecda771d61cf043144dae9c1e57c89e4a90d14 | |
parent | c5f5ced0522a6734dec8727c373fdecf75fdd8bb (diff) |
fix: environment
-rw-r--r-- | .github/workflows/deploy-pages.yml | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 4d16a2e..f1d7854 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -11,18 +11,20 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup Node.js - uses: actions/setup-node@v4 + - uses: actions/setup-node@v4 with: node-version: '20.x' - - name: Setup Java - uses: actions/setup-java@v4 + - uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: '17' - java-package: jre - - name: Install Effekt - run: npm install -g @effekt-lang/effekt + - name: Install Effekt and Setup Environment + run: | + 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 }} @@ -44,4 +46,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v4
\ No newline at end of file |