-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 }} | ||
|
||
|