diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51f13c4..1cdfe33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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