Skip to content

Commit 7aef4d4

Browse files
committed
Setup dotnet 6.0, remove WA for early monorepo, do not store build artifacts
1 parent edadd17 commit 7aef4d4

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

.github/workflows/docgen.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ jobs:
1313
uses: actions/checkout@v4
1414
with:
1515
path: documentation
16-
token: ${{ secrets.DXROBOT_PAT }}
17-
ssh-key: ${{ secrets.DXROBOT_SK }}
1816
ref: ${{ github.ref_name }}
1917

2018
- name: Checkout DevExtreme
@@ -24,6 +22,11 @@ jobs:
2422
repository: devexpress/devextreme
2523
ref: ${{ github.ref_name }}
2624

25+
- name: Set up .NET
26+
uses: actions/setup-dotnet@v4
27+
with:
28+
dotnet-version: 6.0.x
29+
2730
- name: NPM - devextreme
2831
working-directory: devextreme
2932
run: |
@@ -37,13 +40,8 @@ jobs:
3740
#Generation
3841
- name: Discover declarations
3942
working-directory: devextreme
40-
#TODO: Workaround. This should be removed following the changes in devextreme monorepo
41-
run: |
42-
if [[ ${{ github.ref_name }} == "23_2" ]]; then
43-
npm run tools:discover-declarations
44-
else
45-
npm run discover-declarations -- --artifacts ./artifacts/internal-tools
46-
fi
43+
shell: bash
44+
run: npm run tools:discover-declarations
4745

4846
- name: Update topics
4947
working-directory: documentation
@@ -107,10 +105,3 @@ jobs:
107105
-H "Authorization: Bearer ${{ secrets.DXROBOT_PAT }}" \
108106
https://api.github.com/repos/${{ github.repository }}/pulls \
109107
--data-binary @prdata.json
110-
111-
- name: Archive internal-tools artifacts
112-
uses: actions/upload-artifact@v3
113-
with:
114-
name: internal-tools-artifacts
115-
path: ./devextreme/artifacts/internal-tools/
116-
retention-days: 7

0 commit comments

Comments
 (0)