Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ concurrency:

permissions:
contents: write
# actions: write lets the final step dispatch the xposed-release workflow.
actions: write

jobs:
release:
Expand Down Expand Up @@ -102,3 +104,15 @@ jobs:
generate_release_notes: true
fail_on_unmatched_files: true
files: ${{ steps.apk.outputs.path }}

- name: Mirror the release into the Xposed Modules Repo
# The release above is authored by GITHUB_TOKEN, and GitHub deliberately
# won't start another workflow from a GITHUB_TOKEN-created `release` event
# (anti-recursion). workflow_dispatch is an explicit exception, so we kick
# xposed-release.yml directly here to mirror the release we just published.
env:
GH_TOKEN: ${{ github.token }}
run: |
gh workflow run xposed-release.yml \
--ref "${{ github.ref_name }}" \
-f tag="${{ steps.version.outputs.tag }}"
Loading