File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 89
89
title : Mithril v${{ github.ref_name }}
90
90
files : package/*
91
91
92
+ - name : Prepare crates versions table
93
+ run : |
94
+ cat > ./versions-manifest.txt << EOF
95
+
96
+ ## Crates Versions
97
+ | Crate | Version |
98
+ |---------- |-------------|
99
+ EOF
100
+
101
+ cargo metadata --quiet --no-deps | \
102
+ jq -r '.packages | sort_by(.name) | .[] | select([.name] | inside(["mithrildemo", "mithril-end-to-end"]) | not) | "| \(.name) | `\(.version)` |"' \
103
+ >> ./versions-manifest.txt
104
+
105
+ - name : Update release body with crates versions table
106
+ id : update_release
107
+
108
+ env :
109
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
110
+ TAG_NAME : ${{ github.ref_name }}
111
+ with :
112
+ is_append_body : true
113
+ body_path : ./versions-manifest.txt
114
+
92
115
build-push-docker :
93
116
runs-on : ubuntu-22.04
94
117
strategy :
You can’t perform that action at this time.
0 commit comments