Skip to content

Commit 364db84

Browse files
authored
Merge branch 'main' into develop
2 parents 0cf3f99 + b5c0fc6 commit 364db84

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
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+
#
2+
# Workflow to release, triggered by a push onto the protected main branch
3+
4+
name: Release
5+
6+
#
7+
# Operational Variables
8+
9+
env:
10+
MAJOR: 0
11+
MINOR: 0
12+
PYTHON_VERSION: 3.9.6
13+
14+
#
15+
# Establish when the workflow is run
16+
17+
on:
18+
push:
19+
branches:
20+
- main
21+
22+
#
23+
# Workflow
24+
25+
jobs:
26+
27+
build:
28+
runs-on: ubuntu-latest
29+
steps:
30+
31+
- name: Determine whether this is a release build
32+
run: echo "We will be performing a release upon success"
33+
34+
- name: Pipeline Debugging
35+
run: |
36+
env
37+
38+
- name: Checkout out our code
39+
uses: actions/checkout@v2
40+
41+
- name: Conditionally perform a release
42+
uses: elgohr/Github-Release-Action@master
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
45+
with:
46+
args: Creating release

0 commit comments

Comments
 (0)