1
0
mirror of https://github.com/pypa/gh-action-pypi-publish synced 2024-11-30 21:22:28 +08:00

Use YAML block strip syntax (>-) where possible

This commit is contained in:
Brendon Smith 2024-05-27 14:00:48 -04:00
parent 3f3acc27e9
commit 20c36db551
No known key found for this signature in database

View File

@ -24,10 +24,9 @@ jobs:
--tag $IMAGE
- name: Log in to GHCR
if: github.event_name != 'pull_request'
run: |
run: >-
echo ${{ secrets.GITHUB_TOKEN }} |
docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
- name: Push Docker image to GHCR
if: github.event_name != 'pull_request'
run: |
docker push $IMAGE
run: docker push $IMAGE