Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Tweak release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Jul 1, 2024
1 parent b435099 commit 892ac3a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 23 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- trunk
tags:
- '**'
paths-ignore:
- '.idea/**'
- '.gitattributes'
Expand Down Expand Up @@ -159,3 +161,19 @@ jobs:
with:
name: build-outputs
path: app/build/outputs/apk/prod/release/*.apk

release:
runs-on: ubuntu-latest
if: github.repository_owner == 'Goooler' && startsWith(github.ref, 'refs/tags/')
needs: build
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create ${{ github.ref_name }} --title ${{ github.ref_name }} app/build/outputs/apk/prod/release/*.apk --generate-notes
23 changes: 0 additions & 23 deletions .github/workflows/release.yml

This file was deleted.

0 comments on commit 892ac3a

Please sign in to comment.