File tree 1 file changed +4
-10
lines changed
1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 11
11
default : " GitHub Release Message"
12
12
13
13
env :
14
- BUILD_OFFSET : 20
14
+ BUILD_OFFSET : 10
15
15
16
16
jobs :
17
17
build_upload :
51
51
name : ' oee-simulators'
52
52
path : ' repo/simulators/oee-simulators.zip'
53
53
54
- create-release :
55
- runs-on : ubuntu-latest
56
- needs : build_upload
57
- if : github.ref == 'refs/heads/main'
58
- steps :
59
- - name : get versionnumber
60
- run : |
61
- SIMULATOR_VERSION=$(expr ${{ env.BUILD_OFFSET }} + ${GITHUB_RUN_NUMBER})
62
- echo "RELEASE_VERSION=${SIMULATOR_VERSION}" >> $GITHUB_ENV
63
54
- name : Create Release
55
+ if : github.ref == 'refs/heads/main'
64
56
65
57
id : create_release
66
58
with :
73
65
GITHUB_TOKEN : ${{ github.token }}
74
66
75
67
- name : upload oee-sim zip
68
+ if : github.ref == 'refs/heads/main'
76
69
77
70
env :
78
71
GITHUB_TOKEN : ${{ github.token }}
83
76
asset_content_type : application/zip
84
77
85
78
- name : upload source-code zip
79
+ if : github.ref == 'refs/heads/main'
86
80
87
81
env :
88
82
GITHUB_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments