-
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (33 loc) · 880 Bytes
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Github Publish
on:
workflow_dispatch:
# push:
# branches:
# - 'floss'
jobs:
build:
runs-on: ubuntu-latest
steps:
# 1
- uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build.yml
workflow_conclusion: success
branch: master
name: release.apk
path: downloads
if_no_artifact_found: fail
# 2
- name: Generate release tag
id: tag
run: |
echo "::set-output name=release_tag::Sensify_$(date +"%Y.%m.%d_%H-%M")"
# 3
- name: Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag.outputs.release_tag }}
files: downloads/app-release-unsigned-signed.apk