Skip to content

Commit

Permalink
updated test case in bat.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nbhoski committed May 15, 2024
1 parent 4b7b3df commit 7602966
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/bat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,6 @@ name: Build and Test
on: [push]

jobs:
get-job-id:
runs-on: ubuntu-latest
name: 'BAT-JOB' # change SET-A-NEW-NAME
steps:
- name: set id
id: set-job-id
uses: ayachensiyuan/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
job-name: 'BAT-JOB' # must be the same as 'get-job-id.name'

bat:
name: Build and Test
runs-on: ubuntu-latest
Expand Down Expand Up @@ -199,7 +187,7 @@ jobs:
- name: Verify if Running MATLAB Build is displayed
run: |
set -e
gh run view ${{ steps.set-job-id.outputs.jobId }} --log | grep "Running MATLAB Build"
gh run view ${{ github.job }} --log | grep "Running MATLAB Build"
env:
GITHUB_TOKEN: ${{ github.token }}

Expand Down

0 comments on commit 7602966

Please sign in to comment.