Skip to content

Commit

Permalink
feat: 在 TAG 时自动发布为 PreRelease 以便MAA 主仓库可以自动拉取最新的 MaaTouch
Browse files Browse the repository at this point in the history
  • Loading branch information
cubesky authored and MistEO committed Mar 9, 2024
1 parent d849981 commit a1e003c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,12 @@ jobs:
with:
name: maatouch
path: ./maatouch

- name: Release when tag is created
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./maatouch
tag_name: ${{ github.ref_name }}
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: true

0 comments on commit a1e003c

Please sign in to comment.