From 87322ccc7fa6e5f163baf3ca089cb778b343ea35 Mon Sep 17 00:00:00 2001 From: honjow Date: Tue, 27 Jun 2023 00:44:45 +0800 Subject: [PATCH] ci publish --- .github/workflows/release.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 370928c..f50caae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,15 +53,14 @@ jobs: - run: ls -R /tmp/artifacts - - name: publish - uses: ncipollo/release-action@v1 + - name: publish to github release + uses: softprops/action-gh-release@v1 with: - artifacts: /tmp/artifacts/PowerControl/PowerControl.tar.gz - tag: ${{ github.ref }} - prerelease: contains(github.ref, 'pre') + files: /tmp/artifacts/PowerControl/PowerControl.tar.gz + tag_name: ${{ github.ref }} + body: | + PowerControl draft: false - allowUpdates: true - artifactErrorsFailBuild: true - replacesArtifacts: true + prerelease: contains(github.ref, 'pre') env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file