Publish latest
This commit is contained in:
parent
66670d6751
commit
f6dfffb9c0
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -88,7 +88,7 @@ jobs:
|
||||
path: "output/*"
|
||||
retention-days: 7
|
||||
|
||||
- name: "Publish package"
|
||||
- name: "Publish package (hash)"
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||
run: |
|
||||
PUBLISH_USER="${{ secrets.PUBLISH_USER }}" \
|
||||
@ -96,3 +96,12 @@ jobs:
|
||||
VERSION="${{ github.sha }}" \
|
||||
PACKAGE="${{ vars.PACKAGE }}" \
|
||||
python tools/scripts/publish.py
|
||||
|
||||
- name: "Publish package (latest)"
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||
run: |
|
||||
PUBLISH_USER="${{ secrets.PUBLISH_USER }}" \
|
||||
PUBLISH_KEY="${{ secrets.PUBLISH_KEY }}" \
|
||||
VERSION="latest" \
|
||||
PACKAGE="${{ vars.PACKAGE }}" \
|
||||
python tools/scripts/publish.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user