📅  最后修改于: 2022-03-11 14:49:49.437000             🧑  作者: Mango
# add environmental variable repo name
env:
GITHUB_REPOSITORY: github.event.repository.name # this will print common-repo-name
GITHUB_REPOSITORY: github.event.repository.full_name # this will print your-account-name/common-repo-name
you can call the variable name where you want it as $GITHUB_REPOSITORY
name: "Doing github repo-name thing!"
run: echo "$GITHU_REPOSITORY"