aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2022-10-27 10:55:56 +0200
committerGitHub <noreply@github.com>2022-10-27 10:55:56 +0200
commitce73a5f172aabbf2a6b8f66cac48a23a4ea0f495 (patch)
tree07eee6e22b50bd97b60f0ca4505bfe68e516314d /.github/workflows
parent9548978d805836ad45d4f54656306747fccef9ae (diff)
downloadVencord-ce73a5f172aabbf2a6b8f66cac48a23a4ea0f495.tar.gz
Vencord-ce73a5f172aabbf2a6b8f66cac48a23a4ea0f495.tar.bz2
Vencord-ce73a5f172aabbf2a6b8f66cac48a23a4ea0f495.zip
use gh cli to update release (#166)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml26
1 files changed, 3 insertions, 23 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2fc8682..7bfcc9e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -36,27 +36,7 @@ jobs:
- name: Build
run: pnpm build --standalone
- - name: Get some values needed for the release
- id: vars
- shell: bash
- run: |
- echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
-
- - uses: dev-drprasad/delete-tag-and-release@085c6969f18bad0de1b9f3fe6692a3cd01f64fe5 # v0.2.0
- with:
- delete_release: true
- tag_name: devbuild
+ - name: Upload Devbuild
+ run: gh release upload devbuild --clobber dist/*
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
- - name: Create the release
- uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 # v1
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- tag_name: devbuild
- name: Dev Build ${{ steps.vars.outputs.sha_short }}
- draft: false
- prerelease: false
- files: |
- dist/*
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}