We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e06e7cf commit aafa34fCopy full SHA for aafa34f
.github/workflows/release.yml
@@ -66,6 +66,6 @@ jobs:
66
GIT_COMMIT_USERNAME: "${{ github.actor }}"
67
PKGNAME: downgrade
68
PKGVER: ${{ needs.release.outputs.version }}
69
- PKGREL: 1
70
- PUSH: 0
+ PKGREL: 1 # always reset
+ PUSH: ${{ github.ref_name == 'main' && '1' || '0' }}
71
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
0 commit comments