Skip to content

Commit

Permalink
restore original workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shineyruan committed Apr 11, 2024
1 parent 2ca0007 commit f43fd51
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@ on:
workflow_dispatch:

jobs:
check-secret:
uses: autowarefoundation/autoware-github-actions/.github/workflows/check-secret.yaml@v1
secrets:
secret: ${{ secrets.APP_ID }}

build:
needs: check-secret
if: ${{ github.event_name != 'push' || github.ref_name == github.event.repository.default_branch }}
runs-on: ubuntu-latest
container: ${{ matrix.container }}
Expand All @@ -24,13 +18,6 @@ jobs:
- rosdistro: humble
container: ghcr.io/autowarefoundation/autoware-universe:humble-latest
steps:
- name: Generate token
id: generate-token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}

- name: Check out repository
uses: actions/checkout@v3
with:
Expand All @@ -49,5 +36,3 @@ jobs:
with:
rosdistro: ${{ matrix.rosdistro }}
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
build-depends-repos: ${{ matrix.build-depends-repos }}
token: ${{ steps.generate-token.outputs.token }}
15 changes: 0 additions & 15 deletions .github/workflows/build_differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@ on:
pull_request:

jobs:
check-secret:
uses: autowarefoundation/autoware-github-actions/.github/workflows/check-secret.yaml@v1
secrets:
secret: ${{ secrets.APP_ID }}

build-differential:
needs: check-secret
runs-on: ubuntu-latest
container: ${{ matrix.container }}
strategy:
Expand All @@ -22,13 +16,6 @@ jobs:
- rosdistro: humble
container: ghcr.io/autowarefoundation/autoware-universe:humble-latest
steps:
- name: Generate token
id: generate-token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}

- name: Check out repository
uses: actions/checkout@v3
with:
Expand All @@ -48,5 +35,3 @@ jobs:
with:
rosdistro: ${{ matrix.rosdistro }}
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
build-depends-repos: ${{ matrix.build-depends-repos }}
token: ${{ steps.generate-token.outputs.token }}

0 comments on commit f43fd51

Please sign in to comment.