Fix double release creation

This commit is contained in:
Alireza Ahmadi
2023-02-22 19:51:01 +01:00
parent a5922a8620
commit 9bbd612327

View File

@@ -6,21 +6,6 @@ on:
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-18.04
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
steps:
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: true
prerelease: true
linuxamd64build:
name: build x-ui amd64 version
needs: release