Skip to content

Commit 8ded1b1

Browse files
Merge pull request #6 from abhinavminhas/dev
Create release workflow addition
2 parents 5125b0a + a1b8e1a commit 8ded1b1

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

.github/workflows/release.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Release
2+
3+
env:
4+
RELEASE_NAME: "v.1.0.0"
5+
RELEASE_NOTES: |
6+
- Sofware Release (qTest-MSTest-Parser)
7+
8+
on:
9+
workflow_dispatch:
10+
11+
jobs:
12+
build:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
os: [ ubuntu-latest ]
17+
node-version: [ 14.x ]
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v2
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
- run: npm install
26+
27+
- name: Archive Release
28+
uses: thedoctor0/zip-release@master
29+
with:
30+
type: 'zip'
31+
filename: 'qtest-mstest-parser.zip'
32+
path: |
33+
node_modules
34+
package-lock.json
35+
package.json
36+
parser.js
37+
38+
- name: Upload Release
39+
uses: ncipollo/release-action@v1
40+
with:
41+
tag: ${{ env.RELEASE_NAME }}
42+
body: ${{ env.RELEASE_NOTES }}
43+
draft: false
44+
prerelease: false
45+
artifacts: "qtest-mstest-parser.zip"
46+
token: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,13 @@ Tricentis [qTest](https://www.tricentis.com/products/unified-test-management-qte
4545

4646
## Steps To Configure:
4747

48-
1. Download zipped parser from latest "*qTest-MSTest-Parser*" [workflow](https://github.com/abhinavminhas/qtest-mstest-parser/actions/workflows/main.yml) artifacts.
48+
1. Download zipped parser from latest release under [Releases](https://github.com/abhinavminhas/qtest-mstest-parser/releases).
49+
Artifact Name: "**qtest-mstest-parser.zip**".
50+
51+
It can also be downloaded form latest successful "*qTest-MSTest-Parser*" [workflow](https://github.com/abhinavminhas/qtest-mstest-parser/actions/workflows/main.yml) artifacts.
4952

5053
<img src="images\artifacts.png" > </img>
54+
5155
- Required zipped file contents (for manually creating zipped file)
5256
```
5357
node_modules/

0 commit comments

Comments
 (0)