From 710701ba6bfa3fd00f58f91a454917d7e00210c4 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 23 Oct 2022 02:19:14 -0700 Subject: [PATCH] add cd NO_CI --- .github/workflows/cd.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/cd.yml diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..a1842a9 --- /dev/null +++ b/.github/workflows/cd.yml @@ -0,0 +1,32 @@ +name: CD + +on: + workflow_dispatch: + inputs: + tags: + description: 'Release Tag' + required: true + +env: + APP_NAME: OnlineResourceWatcherApp + +jobs: + build: + runs-on: windows-latest + permissions: + contents: write + steps: + - uses: actions/checkout@v2 + - uses: ncipollo/release-action@v1 + with: + artifacts: "" + tag: ${{ github.event.inputs.tags }} + token: ${{ secrets.GITHUB_TOKEN }} + artifactErrorsFailBuild: true + - uses: dev-drprasad/delete-older-releases@v0.2.0 + with: + keep_latest: 3 + delete_tags: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +