diff --git a/.github/workflows/release-builtins.yml b/.github/workflows/release-builtins.yml index 6f41709..917dd3d 100644 --- a/.github/workflows/release-builtins.yml +++ b/.github/workflows/release-builtins.yml @@ -1,6 +1,6 @@ name: Publish ua-parser builtins -run-name: Publish ${{ inputs.tag || 'master' }} to ${{ inputs.environment || 'dummy' }} +run-name: Publish ${{ inputs.tag || 'master' }} to ${{ inputs.environment || 'pypy (scheduled)' }} on: schedule: @@ -11,9 +11,11 @@ on: tag: description: "uap-core ref to release" type: string + required: true environment: description: "environment to release for (testpypy or pypy)" type: environment + required: true jobs: build: @@ -28,7 +30,7 @@ jobs: persist-credentials: false - name: update core env: - TAG: ${{ inputs.tag || 'master '}} + TAG: ${{ inputs.tag || 'origin/master '}} # needs to detach because we can update to a tag run: git -C uap-core switch --detach "$TAG" - name: Set up Python