File tree Expand file tree Collapse file tree 5 files changed +42
-31
lines changed
Expand file tree Collapse file tree 5 files changed +42
-31
lines changed Original file line number Diff line number Diff line change 1+ name : Continuous Deployment
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+
7+ jobs :
8+ continuous-deployment :
9+
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v2
15+
16+ # TODO: Shortcut for now. Convert to VS cpp project, build and release.
17+ - name : Build project
18+ run : |
19+ zip ./WinDiff.zip ./bin/*
20+
21+ - name : Create Release
22+ id : create_release
23+ uses : actions/create-release@v1
24+ env :
25+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26+ with :
27+ tag_name : ${{ github.ref }}
28+ release_name : Release ${{ github.ref }}
29+ draft : false
30+ prerelease : false
31+
32+ - name : Upload Release Asset
33+ id : upload-release-asset
34+ uses : actions/upload-release-asset@v1
35+ env :
36+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37+ with :
38+ upload_url : ${{ steps.create_release.outputs.upload_url }}
39+ asset_path : ./WinDiff.zip
40+ asset_name : WinDiff.zip
41+ asset_content_type : application/zip
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- [ ![ Continuous Integration] ( https://github.com/kitamstudios/windiff/workflows/Continuous%20Integration /badge.svg?branch=master )] ( https://github.com/kitamstudios/windiff/actions?query=workflow%3A%22Continuous+Integration %22 )
1+ [ ![ Continuous Integration] ( https://github.com/kitamstudios/windiff/workflows/Continuous%20Deployment /badge.svg?branch=master )] ( https://github.com/kitamstudios/windiff/actions?query=workflow%3A%22Continuous+Deployment %22 )
22
33# WinDiff - The omnipotent, omniscient, omnipresent diffing program
44
You can’t perform that action at this time.
0 commit comments