Skip to content

Commit f6de299

Browse files
committed
Releasing prebuilt binary for now
1 parent d315e81 commit f6de299

File tree

5 files changed

+42
-31
lines changed

5 files changed

+42
-31
lines changed

.github/workflows/cd.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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

.github/workflows/ci.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

bin/WinDiff.Exe

137 KB
Binary file not shown.

bin/WinDiff.Hlp

17 KB
Binary file not shown.

0 commit comments

Comments
 (0)