We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0cf3f99 + b5c0fc6 commit 364db84Copy full SHA for 364db84
1 file changed
.github/workflows/release.yml
@@ -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