Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger sdk-development report on merge to main #359

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 27 additions & 10 deletions .github/workflows/tests-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,40 @@ jobs:
- name: Terminate dwn-server
run: kill $DWN_SERVER_BACKGROUND_PROCESS || true

- name: Upload test coverage to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Upload test results to update SDK reports
uses: actions/upload-artifact@v3
with:
name: junit-results
path: packages/*/results.xml

- name: Upload test coverage to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
- name: Generate an access token to trigger downstream repo
uses: actions/create-github-app-token@2986852ad836768dfea7781f31828eb3e17990fa # v1.6.2
id: generate_token
if: github.ref == 'refs/heads/main'
with:
app-id: ${{ secrets.CICD_ROBOT_GITHUB_APP_ID }}
private-key: ${{ secrets.CICD_ROBOT_GITHUB_APP_PRIVATE_KEY }}
owner: TBD54566975
repositories: sdk-development

- name: Trigger sdk-development report build
if: github.ref == 'refs/heads/main'
run: |
curl -L \
-H "Authorization: Bearer ${APP_TOKEN}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
-H "Content-Type: application/json" \
--fail \
--data '{"ref": "main"}' \
https://api.github.com/repos/TBD54566975/sdk-development/actions/workflows/build-report.yaml/dispatches
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
APP_TOKEN: ${{ steps.generate_token.outputs.token }}


test-with-browsers:
name: test-with-browsers (group ${{ matrix.group }})
Expand Down Expand Up @@ -141,10 +165,3 @@ jobs:

- name: Terminate dwn-server
run: kill $DWN_SERVER_BACKGROUND_PROCESS || true

web5-spec:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- uses: TBD54566975/sdk-development@v0.2.3
9 changes: 0 additions & 9 deletions .web5-spec/Dockerfile

This file was deleted.

3 changes: 0 additions & 3 deletions .web5-spec/README.md

This file was deleted.

27 changes: 0 additions & 27 deletions .web5-spec/credentials.ts

This file was deleted.

15 changes: 0 additions & 15 deletions .web5-spec/did-ion.ts

This file was deleted.

40 changes: 0 additions & 40 deletions .web5-spec/encoders.ts

This file was deleted.

53 changes: 0 additions & 53 deletions .web5-spec/main.ts

This file was deleted.

Loading
Loading