File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 9
9
- ' mithril-explorer/**'
10
10
- ' .github/workflows/docs.yml'
11
11
12
+ concurrency :
13
+ group : ci-build-test-${{ github.ref }}
14
+ cancel-in-progress : true
15
+
12
16
jobs :
13
17
build-ubuntu-X64 :
14
18
runs-on : ubuntu-22.04
Original file line number Diff line number Diff line change 5
5
branches : # only run on branch push, tag push will be ignored
6
6
- ' **'
7
7
8
+ concurrency :
9
+ group : ci-docs-${{ github.ref }}
10
+ cancel-in-progress : true
11
+
8
12
jobs :
9
13
cargo-doc :
10
14
runs-on : ubuntu-22.04
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