From 91aa7b01b4f3abd8a07905c8b9dd11e39dc691c2 Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Thu, 6 Jul 2023 23:30:47 +0500 Subject: [PATCH] Add continuous release creation to the workflow By default it creates a draft release. --- .github/workflows/conty.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/conty.yml b/.github/workflows/conty.yml index 49de3ea..9036d43 100644 --- a/.github/workflows/conty.yml +++ b/.github/workflows/conty.yml @@ -17,7 +17,26 @@ jobs: chmod +x create-arch-bootstrap.sh create-conty.sh sed -i 's/sed/#sed/g' create-arch-bootstrap.sh sudo ./create-arch-bootstrap.sh && ./create-conty.sh + + - uses: dev-drprasad/delete-tag-and-release@v1.0 + with: + tag_name: continuous + github_token: ${{ secrets.GITHUB_TOKEN }} + delete_release: true + - uses: rickstaa/action-create-tag@v1 + id: "tag_create" + with: + tag: "continuous" + + - uses: softprops/action-gh-release@v1 + with: + files: conty.sh + prerelease: true + draft: true + tag_name: continuous + name: Continuous build + - uses: actions/upload-artifact@v3 with: name: Conty