mirror of
https://github.com/wgtunnel/android.git
synced 2026-07-03 14:07:49 +02:00
ci: fix notification workflow on release
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
name: on-publish
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [ released ]
|
||||
|
||||
repository_dispatch:
|
||||
types: [ publish-release ]
|
||||
|
||||
jobs:
|
||||
|
||||
on-publish:
|
||||
name: On publish
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -193,6 +193,14 @@ jobs:
|
||||
files: |
|
||||
${{ github.workspace }}/temp/*
|
||||
|
||||
# notify socials
|
||||
- name: Trigger on-publish workflow
|
||||
if: ${{ inputs.release_type == 'release' }}
|
||||
uses: peter-evans/repository-dispatch@v3
|
||||
with:
|
||||
token: ${{ secrets.PAT }}
|
||||
event-type: publish-release
|
||||
|
||||
publish-fdroid:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
|
||||
Reference in New Issue
Block a user