Skip to content

Commit

Permalink
Update build-pull-request.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shyunMin authored Nov 27, 2024
1 parent be618d3 commit 25d966c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,37 +77,37 @@ jobs:
name: reports
path: Artifacts

- name: Download Base API Spec
id: base-spec
uses: TizenAPI/tizenfx-build-actions/s3-download-public@master
with:
region: ap-northeast-2
bucket: tizenfx-api-specs
key: ${{ github.event.pull_request.base.sha }}.json
path: Artifacts/base-api.json
# - name: Download Base API Spec
# id: base-spec
# uses: TizenAPI/tizenfx-build-actions/s3-download-public@master
# with:
# region: ap-northeast-2
# bucket: tizenfx-api-specs
# key: ${{ github.event.pull_request.base.sha }}.json
# path: Artifacts/base-api.json

- uses: actions/checkout@v2
if: ${{ steps.base-spec.outputs.code != 200 }}
# if: ${{ steps.base-spec.outputs.code != 200 }}
with:
ref: ${{ github.event.pull_request.base.sha }}
path: base

- name: Build Base Branch
if: ${{ steps.base-spec.outputs.code != 200 }}
# if: ${{ steps.base-spec.outputs.code != 200 }}
uses: TizenAPI/tizenfx-build-actions/problem-filter@master
with:
run: ./build.sh full
working-directory: base

- name: Checkout APITool
if: ${{ steps.base-spec.outputs.code != 200 }}
# if: ${{ steps.base-spec.outputs.code != 200 }}
uses: actions/checkout@v2
with:
repository: TizenAPI/APITool
path: .apitool

- name: Extract Base API
if: ${{ steps.base-spec.outputs.code != 200 }}
# if: ${{ steps.base-spec.outputs.code != 200 }}
run: |
dotnet run -p .apitool/ \
-- print --format=json --include-hidden \
Expand Down

0 comments on commit 25d966c

Please sign in to comment.