ci: Fix release double build

This commit is contained in:
Matt Borgerson 2023-01-17 13:03:56 -07:00
parent 8fbbe0f0f3
commit 328656dbd9
2 changed files with 7 additions and 18 deletions

View file

@ -347,7 +347,6 @@ jobs:
- name: Publish release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.XEMU_ROBOT_TOKEN }}
tag_name: v${{ env.XEMU_VERSION }}
name: v${{ env.XEMU_VERSION }}
prerelease: false
@ -360,6 +359,13 @@ jobs:
dist/xemu-macos-universal-debug/xemu-macos-universal-debug.zip
dist/xemu-ubuntu-release/xemu/xemu-v${{ env.XEMU_VERSION }}-x86_64.AppImage
dist/xemu-ubuntu-debug/xemu/xemu-v${{ env.XEMU_VERSION }}-dbg-x86_64.AppImage
- name: Trigger website update
uses: benc-uk/workflow-dispatch@v1.2.2
with:
workflow: build.yml
repo: xemu-project/xemu-website
token: ${{ secrets.XEMU_ROBOT_TOKEN }}
ref: master
# Sync archive version of source (including submodule code) to the
# ppa-snapshot branch to work around limitations of the Launchpad platform,

View file

@ -1,17 +0,0 @@
name: Trigger website update
on:
release:
types: [published]
jobs:
trigger-website-update:
name: Trigger website update
runs-on: ubuntu-latest
steps:
- uses: benc-uk/workflow-dispatch@v1.2.2
with:
workflow: build.yml
repo: xemu-project/xemu-website
token: ${{ secrets.XEMU_ROBOT_TOKEN }}
ref: master