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

Commit 35899ec

Browse files
committed
Tweak release workflow
1 parent b435099 commit 35899ec

File tree

2 files changed

+17
-23
lines changed

2 files changed

+17
-23
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- trunk
7+
tags:
8+
- '**'
79
paths-ignore:
810
- '.idea/**'
911
- '.gitattributes'
@@ -159,3 +161,18 @@ jobs:
159161
with:
160162
name: build-outputs
161163
path: app/build/outputs/apk/prod/release/*.apk
164+
165+
release:
166+
runs-on: ubuntu-latest
167+
if: github.repository_owner == 'Goooler' && startsWith(github.ref, 'refs/tags/')
168+
needs: build
169+
permissions:
170+
contents: write
171+
steps:
172+
- uses: actions/checkout@v4
173+
- uses: actions/download-artifact@v4
174+
- name: Release
175+
env:
176+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
177+
run: |
178+
gh release create ${{ github.ref_name }} **/*.apk --generate-notes

.github/workflows/release.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)