File tree Expand file tree Collapse file tree 4 files changed +41
-38
lines changed
Expand file tree Collapse file tree 4 files changed +41
-38
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : push
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@master
10+ - name : Build
11+ run : make build
12+ - name : Test
13+ run : make test
Original file line number Diff line number Diff line change 1+ name : release
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@master
12+ - name : Build
13+ run : make build
14+ - name : Test
15+ run : make test
16+ - name : Release
17+ run : make release
18+ - name : Upload Release Asset
19+ id : upload-release-asset
20+ uses : actions/upload-release-asset@master
21+ env :
22+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23+ with :
24+ upload_url : ${{ github.event.release.upload_url }}
25+ asset_path : ./out/zUtils.FileBinaryTar.xml
26+ asset_name : zUtils.FileBinaryTar.xml
27+ asset_content_type : text/xml
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ test: build ## Run UnitTests
1717 docker run --rm -i -v ` pwd` /tests:/opt/tests -w /opt --entrypoint /tests_entrypoint.sh $(IMAGE )
1818
1919release : clean build # # Export as XML
20- docker run --rm -i -v ` pwd` /out:/opt/ out -w /opt --entrypoint /build_artifacts.sh $(IMAGE )
20+ docker run --rm -i -v ` pwd` /out:/tmp/ $( APP_NAME ) / out -w /tmp/ $( APP_NAME ) --entrypoint /build_artifacts.sh $(IMAGE )
2121
2222clean :
2323 -rm -rf out
You can’t perform that action at this time.
0 commit comments