Skip to content

Commit

Permalink
Use ubuntu latest
Browse files Browse the repository at this point in the history
  • Loading branch information
JunTaoLuo committed Jan 19, 2024
1 parent b9ecfa8 commit 5eca573
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/gha-diagnostics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Delete Tugboat Preview
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
paths-ignore:
- '**.md'

jobs:
gha_diagnostics:
runs-on: ubuntu-latest
name: Diagnose github context
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
4 changes: 0 additions & 4 deletions .github/workflows/tugboat-pr-closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ jobs:
NODE_EXTRA_CA_CERTS: /etc/ssl/certs/ca-certificates.crt
name: Delete Tugboat Preview
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Restore Preview ID
uses: actions/cache/restore@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
with:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/tugboat-pr-opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ jobs:
NODE_EXTRA_CA_CERTS: /etc/ssl/certs/ca-certificates.crt
name: Create Tugboat Preview
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Create Tugboat Preview
id: tugboat_pr_preview
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/tugboat-pr-updated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ jobs:
NODE_EXTRA_CA_CERTS: /etc/ssl/certs/ca-certificates.crt
name: Rebuild Tugboat Preview
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Restore Preview ID
uses: actions/cache/restore@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
with:
Expand Down

0 comments on commit 5eca573

Please sign in to comment.