diff --git a/.github/workflows/publish-github-release.yml b/.github/workflows/publish-github-release-bwa.yml similarity index 60% rename from .github/workflows/publish-github-release.yml rename to .github/workflows/publish-github-release-bwa.yml index 3a8e1eb99c..cf82482d27 100644 --- a/.github/workflows/publish-github-release.yml +++ b/.github/workflows/publish-github-release-bwa.yml @@ -11,18 +11,6 @@ permissions: actions: write jobs: - publish-release-password-manager: - name: Publish Password Manager Release - uses: bitwarden/gh-actions/.github/workflows/_publish-mobile-github-release.yml@main - with: - release_name: "Password Manager" - workflow_name: "publish-github-release.yml" - credentials_filename: "play_creds.json" - project_type: android - check_release_command: > - bundle exec fastlane getLatestPlayStoreVersion package_name:com.x8bit.bitwarden track:production - secrets: inherit - publish-release-authenticator: name: Publish Authenticator Release uses: bitwarden/gh-actions/.github/workflows/_publish-mobile-github-release.yml@main diff --git a/.github/workflows/publish-github-release-pwm.yml b/.github/workflows/publish-github-release-pwm.yml new file mode 100644 index 0000000000..e466640d74 --- /dev/null +++ b/.github/workflows/publish-github-release-pwm.yml @@ -0,0 +1,24 @@ +name: Publish Password Manager and Authenticator GitHub Release as newest + +on: + workflow_dispatch: + schedule: + - cron: '0 * * * 1-5' # Every hour on the hour on weekdays + +permissions: + contents: write + id-token: write + actions: write + +jobs: + publish-release-password-manager: + name: Publish Password Manager Release + uses: bitwarden/gh-actions/.github/workflows/_publish-mobile-github-release.yml@main + with: + release_name: "Password Manager" + workflow_name: "publish-github-release.yml" + credentials_filename: "play_creds.json" + project_type: android + check_release_command: > + bundle exec fastlane getLatestPlayStoreVersion package_name:com.x8bit.bitwarden track:production + secrets: inherit