diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d9b6503..8ebfcc1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,3 @@ - name: test on: @@ -8,6 +7,12 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Hello World + - name: Set Environment Variables run: | - echo "${GITHUB_REPOSITORY#${GITHUB_REPOSITORY_OWNER}/}" + echo "RepoName=${GITHUB_REPOSITORY#${GITHUB_REPOSITORY_OWNER}/}" >> $GITHUB_ENV + echo ${{ env.RepoName }} + + - name: Display RepoName + run: echo "RepoName is $RepoName" + env: + RepoName: ${{ env.RepoName }}