Skip to content

Commit

Permalink
Fix release zip file containing folder called lib instead of p5
Browse files Browse the repository at this point in the history
Fixes #6266
  • Loading branch information
limzykenneth committed Jul 24, 2023
1 parent 8e117ae commit 46f713a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,14 @@ jobs:
- run: rm ./lib/p5-test.js ./lib/p5.pre-min.js

# 2. Prepare release files
- run: mkdir release
- run: mkdir release && mkdir p5 && cp -r ./lib/* p5/
- name: Create release zip file
uses: TheDoctor0/[email protected]
with:
type: zip
filename: release/p5.zip
path: ./lib/*
path: ./p5/*

- name: Copy release files
run: cp lib/p5.js lib/p5.min.js lib/addons/p5.sound.js lib/addons/p5.sound.min.js release/

Expand Down

0 comments on commit 46f713a

Please sign in to comment.