Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow retriggering a store submission #96

Open
fregante opened this issue Dec 16, 2023 · 1 comment
Open

Allow retriggering a store submission #96

fregante opened this issue Dec 16, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@fregante
Copy link
Owner

This workflow creates a version and then attempts to submit it all at once: https://github.com/fregante/ghatemplates/blob/main/webext/release.yml

It should probably take workflow_dispatch parameter to:

  • use the latest release instead of creating a new one
  • submit only to a specific store
@fregante fregante added enhancement New feature or request help wanted Extra attention is needed labels Dec 16, 2023
@fregante
Copy link
Owner Author

fregante commented Dec 16, 2023

Docs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_dispatchinputs

  • use the latest release instead of creating a new one

This might be easiest added as logic into https://github.com/fregante/daily-version-action so it can just fake VERSION_CREATED and the other ENVs

on:
  workflow_dispatch:
    inputs:
      use-existing:
        type: boolean
        description: Skip version generation and use the latest tag
      uses: fregante/daily-version-action@v2
      with:
        use-existing: github.event.inputs.use-existing
  • submit only to a specific store

Maybe possible via environments:

on:
  workflow_dispatch:
    inputs:
      environment:
        description: What store to deploy
        type: environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant