File tree 1 file changed +25
-3
lines changed
1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change 13
13
14
14
steps :
15
15
- name : Checkout Repository
16
- uses : actions/checkout@v3
16
+ uses : actions/checkout@v4
17
17
18
18
- name : Setup CI environment
19
19
uses :
yetanalytics/actions/[email protected]
53
53
zip -r ../../datasim-bundle.zip ./
54
54
55
55
- name : Archive Bundle
56
- uses : actions/upload-artifact@v3
56
+ uses : actions/upload-artifact@v4
57
57
with :
58
58
name : datasim-bundle-artifact-${{ github.sha }}
59
59
path : datasim-bundle.zip
65
65
66
66
steps :
67
67
- name : Checkout repository
68
- uses : actions/checkout@v3
68
+ uses : actions/checkout@v4
69
69
70
70
- name : Setup CD environment
71
71
uses : yetanalytics/action-setup-env@v1
82
82
resource-dirs : ' []'
83
83
clojars-username : ${{ secrets.CLOJARS_USERNAME }}
84
84
clojars-deploy-token : ${{ secrets.CLOJARS_PASSWORD }}
85
+
86
+ release :
87
+ runs-on : ubuntu-latest
88
+ needs : build
89
+ if : ${{ github.ref_type == 'tag' }}
90
+ steps :
91
+ - name : Checkout repository
92
+ uses : actions/checkout@v4
93
+
94
+ - name : Download Bundle Artifact
95
+ uses : actions/download-artifact@v4
96
+ with :
97
+ name : datasim-bundle-artifact-${{ github.sha }}
98
+
99
+ - name : Craft Draft Release
100
+ uses : softprops/action-gh-release@v2
101
+ with :
102
+ # Defaults:
103
+ # name: [tag name]
104
+ # tag_name: github.ref
105
+ draft : true
106
+ files : datasim-bundle.zip
You can’t perform that action at this time.
0 commit comments