CI: automatically make a release when a tag is pushed
This commit is contained in:
@@ -3,6 +3,7 @@ name: Build
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "master" ]
|
branches: [ "master" ]
|
||||||
|
tags: "*"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "master" ]
|
branches: [ "master" ]
|
||||||
|
|
||||||
@@ -100,3 +101,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: APK
|
name: APK
|
||||||
path: apk/*.apk
|
path: apk/*.apk
|
||||||
|
|
||||||
|
- name: Release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
with:
|
||||||
|
tag_name: ${{ inputs.ref }}
|
||||||
|
generate_release_notes: true
|
||||||
|
draft: true
|
||||||
|
files: |
|
||||||
|
apk/WiVRn-oculus-release.apk
|
||||||
|
|||||||
Reference in New Issue
Block a user