Skip to content

Commit

Permalink
Fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
sfmskywalker committed Jul 29, 2023
1 parent 88ee26b commit abb0ab7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ jobs:
dotnet publish ./src/hosts/Elsa.Studio.Host.CustomElements --configuration Release -o $(pwd)/packages/wasm /p:Version=${VERSION}
- name: Prepare npm package
run: |
cp $(pwd)/wasm/npm/package.json $(pwd)/wasm/wwwroot/package.json # Copy the package.json file from the NPM package to the wwwroot folder.
cd $(pwd)/wasm/wwwroot
cp $(pwd)/packages/wasm/npm/package.json $(pwd)/packages/wasm/wwwroot/package.json # Copy the package.json file from the NPM package to the wwwroot folder.
cd $(pwd)/packages/wasm/wwwroot
npm pack
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: elsa-studio-packages
path: |
./packages/nuget/*nupkg
./packages/wasm/wwwroot/elsa-workflows-elsa-studio-wasm-*.tgz
$(pwd)/packages/nuget/*nupkg
$(pwd)/packages/wasm/wwwroot/elsa-workflows-elsa-studio-wasm-*.tgz
if: ${{ github.event_name == 'release' || github.event_name == 'push'}}

Expand Down

0 comments on commit abb0ab7

Please sign in to comment.