Skip to content

Commit

Permalink
ci: release and update testing appcast only in rime/weasel
Browse files Browse the repository at this point in the history
  • Loading branch information
fxliang committed Oct 2, 2024
1 parent 0c8bb0f commit b60f45b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,15 @@ jobs:
# create stable release
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
if: ${{ github.repository == 'rime/weasel' && startsWith(github.ref, 'refs/tags/') }}
with:
files: |
./output/archives/weasel*.exe
./output/archives/debug_symbols.7z
body_path: ${{ github.workspace }}/RELEASE_CHANGELOG.md

- name: Update testing Appcast
if: ${{ github.repository == 'rime/weasel' }}
run: gh workflow run gh-pages.yml -R rime/home --ref master
env:
GH_TOKEN: ${{ secrets.ACTIONS_DEPLOY_KEY }}

0 comments on commit b60f45b

Please sign in to comment.