Skip to content
Discussion options

You must be logged in to vote

The env approach is what I’d do, except that I’d use Bash parameter expansion to convert the case instead of hardcoding it:

      - name: downcase REPO
        run: |
          echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}

Or if you need the tag in a run step you could do the parameter expansion right there.

Replies: 21 comments 17 replies

Comment options

You must be logged in to vote
4 replies
@bergus
Comment options

@Likqez
Comment options

@rzaitov
Comment options

@alan-czajkowski
Comment options

Comment options

You must be logged in to vote
2 replies
@Entepotenz
Comment options

@hu1buerger
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ystxn
Comment options

@gerardnico
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@gerardnico
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@esaporski
Comment options

@alan-czajkowski
Comment options

@Solenhya
Comment options

This comment was marked as off-topic.

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ssbarnea
Comment options

Comment options

You must be logged in to vote
2 replies
@alan-czajkowski
Comment options

@gerardnico
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@danielbayley
Comment options

@BerGod
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Product Feedback Share your thoughts and suggestions on GitHub features and improvements