File tree Expand file tree Collapse file tree 1 file changed +35
-2
lines changed Expand file tree Collapse file tree 1 file changed +35
-2
lines changed Original file line number Diff line number Diff line change 74
74
zip -r ConsoleGalaxy-${{ github.ref_name }}.zip .
75
75
- name : list files tag:3
76
76
run : ls -R
77
- # make a CHANGELOGS.md file
77
+ # make a CHANGELOGS.md file
78
78
- name : Create CHANGELOGS file
79
79
run : |
80
80
echo "Changes for version ${{ github.ref_name }}" > CHANGELOGS.md
83
83
# echo the CHANGELOGS file
84
84
- name : Show CHANGELOGS
85
85
run : cat CHANGELOGS.md
86
-
86
+ - name : list files tag:4
87
+ run : ls -R
88
+ release :
89
+ runs-on : ubuntu-latest
90
+ needs : prepare-zip
91
+ steps :
92
+ - name : Checkout code
93
+ uses : actions/checkout@v4
94
+ - name : Create a release
95
+ id : create_release
96
+ uses : actions/create-release@v1
97
+ env :
98
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
99
+ with :
100
+ tag_name : ${{ github.ref_name }}
101
+ release_name : Release ${{ github.ref_name }}
102
+ body : |
103
+ ${{ steps.prepare-zip.outputs.CHANGELOGS }}
104
+ draft : false
105
+ prerelease : false
106
+ - name : list files tag:5
107
+ run : ls -R
108
+ - name : Upload release asset
109
+ id : upload-release-asset
110
+ uses : actions/upload-release-asset@v1
111
+ env :
112
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
113
+ with :
114
+ upload_url : ${{ steps.create_release.outputs.upload_url }}
115
+ asset_path : ConsoleGalaxy_zipFolder/ConsoleGalaxy-${{ github.ref_name }}.zip
116
+ asset_name : ConsoleGalaxy-${{ github.ref_name }}.zip
117
+ asset_content_type : application/zip
118
+ - name : list files tag:6
119
+ run : ls -R
You can’t perform that action at this time.
0 commit comments