Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
takahiro-itou committed Apr 29, 2024
2 parents 14940d3 + 9ddb5b0 commit 7d05662
Showing 1 changed file with 19 additions and 22 deletions.
41 changes: 19 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,41 @@

name : Hello World Test
name : Install CppUnit Test

on :
push :
branches : [ "master", "develop" ]

jobs :
hello_world_job :
install_cppunit_job:
runs-on : ubuntu-latest
name : A job to say hello
name : install CppUnit

strategy :
fail-fast : false

matrix :
who-args : [ 'Mona the Octocat', 'Second' ]
with-cppunit :
- no
- tools/cppunit

steps :
- uses : actions/checkout@v4

- id : foo
uses : takahiro-itou/hello-world-composite-action@master
with :
who-to-greet : ${{ matrix.who-args }}

- run : echo random-number "$RANDOM_NUMBER"
- name : Print Install Dir
run : |
echo "workspace = ${{ github.workspace }}"
echo "target = ${{ matrix.with-cppunit }}"
shell : bash
env :
RANDOM_NUMBER : ${{ steps.foo.outputs.random-number }}

- run : |
echo common-value "${COMMON_VALUE}"
echo cached-date "${CACHED_DATE}"
shell : bash
env :
COMMON_VALUE : ${{ steps.foo.outputs.common-value }}
CACHED_DATE : ${{ steps.foo.outputs.cached-date }}
- if : ${{ matrix.with-cppunit != 'no' }}
name : Install CppUnit
uses : takahiro-itou/install-cppunit-action@v1
with :
install-prefix : "${{ github.workspace }}/${{ matrix.with-cppunit }}"

- run : |
- name : Post-Show Workspace
run : |
pwd
ls -alR
md5sum -b ./init/*.txt
echo "${{ github.workspace }}"
ls -lR "${{ github.workspace }}"
shell : bash

0 comments on commit 7d05662

Please sign in to comment.