This repository was archived by the owner on Nov 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 11name : EkLine
22on :
3+ push :
4+ branches :
5+ - master
6+ - main
37 pull_request :
4- types : [labeled]
58permissions : write-all
69jobs :
710 test-pr-review :
Original file line number Diff line number Diff line change 99 get-diff :
1010 runs-on : ubuntu-latest
1111 steps :
12+ - name : Get current date
13+ id : date
14+ run : echo "::set-output name=date::$(date +'%Y-%m-%d')"
1215 - name : Check out HEAD rev
1316 uses : actions/checkout@v2
1417 with :
@@ -21,21 +24,21 @@ jobs:
2124 path : base
2225 - name : Create dir
2326 run : |
24- mkdir changelog
27+ mkdir -p changelog/beta changelog/public
2528 - name : Running public OpenAPI Spec diff action
2629 uses : oasdiff/oasdiff-action/diff@main
2730 with :
2831 base : ' base/fern/apis/public/openapi-public.yaml'
2932 revision : ' head/fern/apis/public/openapi-public.yaml'
3033 format : text
31- output-to-file : ' changelog/public-diff .md'
34+ output-to-file : ' changelog/public/${{ steps.date.outputs.date }}_oasdiff .md'
3235 - name : Running beta OpenAPI Spec diff action
3336 uses : oasdiff/oasdiff-action/diff@main
3437 with :
3538 base : ' base/fern/apis/beta/openapi-beta.yaml'
3639 revision : ' head/fern/apis/beta/openapi-beta.yaml'
3740 format : text
38- output-to-file : ' changelog/beta-diff .md'
41+ output-to-file : ' changelog/beta/${{ steps.date.outputs.date }}_oasdiff .md'
3942 - name : Archive changelogs
4043 uses : actions/upload-artifact@v4
4144 with :
Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ node_modules
22fern /dist
33fern /* /definition /
44.DS_Store
5- .idea
5+ .idea
6+ temp
You can’t perform that action at this time.
0 commit comments