Skip to content

Commit

Permalink
chore(ci): add a workflow to automatically release new versions
Browse files Browse the repository at this point in the history
Closes #20
  • Loading branch information
ricardodalarme committed Jun 23, 2023
1 parent 821db86 commit 5b827c7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Auto Release

on:
workflow_run:
workflows: [CI Android Enhanced Video Player]
types:
- completed
branches:
- main

jobs:
auto-tag:
if: ${{ github.event.workflow_run.conclusion == 'success' }}

runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v3
- uses: profusion/action-autorelease@main
with:
properties_path: 'gradle.properties'
property_name: 'VERSION_NAME'
tag_prefix: 'v'
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5b827c7

Please sign in to comment.