File tree Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 99 required : true
1010 version :
1111 type : string
12- default : wip # TODO
12+ required : true
1313
1414permissions : {}
1515
Original file line number Diff line number Diff line change 88permissions : {}
99
1010jobs :
11+ get-versions :
12+ uses : ./.github/workflows/get-versions.yml
13+
1114 parse-plugins :
1215 uses : ./.github/workflows/parse-plugins.yml
1316
1417 linux :
1518 needs :
19+ - get-versions
1620 - parse-plugins
1721 strategy :
1822 fail-fast : false
2428 uses : ./.github/workflows/build-on-linux.yml
2529 with :
2630 plugins : ${{ toJSON(matrix.plugins) }}
31+ version : ${{ needs.get-versions.outputs.version }}
2732 secrets : inherit
Original file line number Diff line number Diff line change 1+ ---
2+ name : Get versions
3+
4+ on :
5+ workflow_call :
6+ outputs :
7+ version :
8+ value : ${{ jobs.get-versions.outputs.version }}
9+
10+ jobs :
11+ get-versions :
12+ name : Retrieve version information
13+ runs-on : ubuntu-latest
14+ outputs :
15+ version : ${{ steps.parse.outputs.version }}
16+ steps :
17+ - uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
20+ repository : ' WasmEdge/WasmEdge' # TODO: checkout plugins from this repository
21+ - id : parse
22+ run : |
23+ git fetch --tags --force
24+ VERSION=$(git describe --match '[0-9].[0-9]*' --tag)
25+ echo "version=${VERSION}" >> "${GITHUB_OUTPUT}"
You can’t perform that action at this time.
0 commit comments