Skip to content

Commit

Permalink
Fixed web-app artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzadafridi committed Aug 29, 2024
1 parent 352a574 commit 6b3f005
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,19 @@ jobs:
${{ runner.os }}-gradle-
- name: Build Web
run: ./gradlew wasmJsBrowserWebpack
run: ./gradlew wasmJsBrowserDistribution

- name: Archive Web App
run: |
# Create a zip file of the productionExecutable directory
mkdir -p artifacts
zip -r artifacts/web-app.zip composeApp/build/dist/wasmJs/productionExecutable
- name: Upload Web artifacts
uses: actions/upload-artifact@v4
with:
name: web-app
path: webApp/build/distributions/*.tar.gz
path: artifacts/web-app.zip

# Workflow block for generating artifact links
generate-artifact-links:
Expand Down

0 comments on commit 6b3f005

Please sign in to comment.