From d9d22a5a2860cddce7f6963563b605c9efb8d9f7 Mon Sep 17 00:00:00 2001 From: 098suraj <30719688+098suraj@users.noreply.github.com> Date: Wed, 11 Jan 2023 04:36:41 +0530 Subject: [PATCH] Create release.yml --- .github/workflows/release.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..02fa7d7 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,22 @@ +name: Release + +on: + push: + tags: + - '*' + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + permissions: + contents: write + + steps: + - uses: actions/checkout@v2 + - uses: ncipollo/release-action@v1 + with: + artifacts: "release.tar.gz,foo/*.txt" + artifactErrorsFailBuild: false + generateReleaseNotes: true