File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ branches :
5+ - master
6+
7+ jobs :
8+ release :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v2
13+
14+ - name : get-version-from-dnn-manifest
15+ uses : valadas/get-version-from-dnn-manifest@v1
16+ id : version
17+
18+ - name : Zip Release
19+ run : cd Resources && zip -r $FILENAME.zip *
20+ env :
21+ FILENAME : Dnn_Platform_${{ github.event.repository.name }}_${{ steps.version.outputs.versionString }}
22+
23+ - name : Create Release
24+ uses : ncipollo/release-action@v1.6.1
25+ with :
26+ artifacts : Resources/*.zip
27+ body : Dnn ${{ github.event.repository.name }} version ${{ steps.version.outputs.versionString }}
28+ tag : v${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }}
29+ # The Github token.
30+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments