-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update yaml scripts to have one for all 4.x docs
- Loading branch information
1 parent
30d9eb2
commit bcd2225
Showing
10 changed files
with
182 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,8 +61,33 @@ jobs: | |
zip -qq -r cs_cg_en_doc.zip "csharp_cg_en" | ||
ls | ||
- name: Upload Flutter CG CN doc to release | ||
uses: svenstaro/upload-release-action@v2 | ||
- name: Upload Flutter CG CN doc Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: dita/RTC/out/flutter_cg_cn_doc.zip | ||
name: flutter_cg_cn_doc.zip | ||
|
||
- name: Upload CSharp CG CN doc Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: dita/RTC/out/cs_cg_cn_doc.zip | ||
name: cs_cg_cn_doc.zip | ||
|
||
- name: Upload Flutter CG EN doc Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: en-US/dita/RTC/out/flutter_cg_en_doc.zip | ||
name: flutter_cg_en_doc.zip | ||
|
||
- name: Upload CSharp CG EN doc Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: en-US/dita/RTC/out/cs_cg_en_doc.zip | ||
name: cs_cg_en_doc.zip | ||
|
||
- name: Upload Flutter CG CN doc Artifact | ||
if: github.ref == github.event.repository.default_branch | ||
uses: svenstaro/[email protected] | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: dita/RTC/out/flutter_cg_cn_doc.zip | ||
|
@@ -71,9 +96,10 @@ jobs: | |
make_latest: false | ||
overwrite: true | ||
body: "DITA docs." | ||
|
||
- name: Upload CSharp CG CN doc to release | ||
uses: svenstaro/upload-release-action@v2 | ||
if: github.ref == github.event.repository.default_branch | ||
uses: svenstaro/[email protected] | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: dita/RTC/out/cs_cg_cn_doc.zip | ||
|
@@ -82,9 +108,10 @@ jobs: | |
make_latest: false | ||
overwrite: true | ||
body: "DITA docs." | ||
|
||
- name: Upload Flutter CG EN doc to release | ||
uses: svenstaro/upload-release-action@v2 | ||
if: github.ref == github.event.repository.default_branch | ||
uses: svenstaro/[email protected] | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: en-US/dita/RTC/out/flutter_cg_en_doc.zip | ||
|
@@ -93,9 +120,10 @@ jobs: | |
make_latest: false | ||
overwrite: true | ||
body: "DITA docs." | ||
|
||
- name: Upload CSharp CG EN doc to release | ||
uses: svenstaro/upload-release-action@v2 | ||
if: github.ref == github.event.repository.default_branch | ||
uses: svenstaro/[email protected] | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: en-US/dita/RTC/out/cs_cg_en_doc.zip | ||
|
@@ -104,3 +132,4 @@ jobs: | |
make_latest: false | ||
overwrite: true | ||
body: "DITA docs." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.