Skip to content

Commit 4cd24e7

Browse files
committed
action: Use $GITHUB_OUTPUT instead of deprecated ::set-output
1 parent 56d38bc commit 4cd24e7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,14 @@ jobs:
5757
uses: actions/checkout@v3
5858

5959
- name: Setup MPI
60+
id: setup-mpi
6061
uses: ./
6162
with:
6263
mpi: ${{ matrix.mpi }}
6364

65+
- name: Show MPI name
66+
run: echo "${{ steps.setup-mpi.outputs.mpi }}"
67+
6468
- name: Show MPI info
6569
run: mpichversion
6670
if: ${{ matrix.mpi == 'mpich' }}

setup-mpi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ case $(uname) in
6464
;;
6565
esac
6666

67-
echo "::set-output name=mpi::${MPI}"
67+
echo "mpi=${MPI}" >> $GITHUB_OUTPUT
6868

6969
case $MPI in
7070
mpich)

0 commit comments

Comments
 (0)