File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Attach stable asset to release
2+ on :
3+ release :
4+ types : [published, edited]
5+
6+ jobs :
7+ upload-asset :
8+ runs-on : ubuntu-latest
9+ permissions :
10+ contents : write # required to upload assets
11+ steps :
12+ - uses : actions/checkout@v4
13+ with :
14+ fetch-depth : 0 # ensures tags/metadata are present
15+
16+
17+ # Create a clean tarball with a top-level folder "designer/"
18+ - name : Build tarball
19+ run : |
20+ mkdir -p out/designer
21+ cp -r server.py app.js diagram.js help-content.html help-modal.js index.html io.js style.css ui.js out/designer/
22+ tar -czf designer.tar.gz -C out designer
23+
24+ # Upload as the stable-named asset
25+ - name : Upload asset
26+ uses : softprops/action-gh-release@v2
27+ with :
28+ files : designer.tar.gz
29+ overwrite : true
You can’t perform that action at this time.
0 commit comments