Skip to content

Commit cbb2cdc

Browse files
authored
CI: update release workflow to get dependencies github:9255
1 parent 7098721 commit cbb2cdc

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Release
22
on:
33
release:
44
types: [published]
5+
env:
6+
DEPENDENCIES_BRANCH: 21.x
57
jobs:
68
create:
79
name: "Create"
@@ -21,6 +23,24 @@ jobs:
2123
${{ secrets.POST_BUILD_PATH }}
2224
path: Components/${{ secrets.POST_BUILD_REPO }}
2325

26+
- name: Get Package Manager Action
27+
uses: actions/checkout@v5
28+
with:
29+
repository: 4d/packageManager
30+
ref: ${{ env.DEPENDENCIES_BRANCH }}
31+
path: Components/packageManager
32+
token: ${{ secrets.PAT_TOKEN }}
33+
34+
- name: Fetch
35+
uses: ./Components/packageManager
36+
with:
37+
product-line: vcs
38+
version: vcs
39+
build: official
40+
token: ${{ secrets.DLTK }}
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} # to fetch repository, GitHub release api
43+
2444
- name: BuildAndPackage
2545
id: build-package
2646
uses: 4d/build4d-action@main

0 commit comments

Comments
 (0)