mirror of
https://github.com/Karaka-Management/oms-OnlineResourceWatcher.git
synced 2026-02-17 00:18:41 +00:00
add cd NO_CI
This commit is contained in:
parent
c42a7b7355
commit
710701ba6b
32
.github/workflows/cd.yml
vendored
Normal file
32
.github/workflows/cd.yml
vendored
Normal file
|
|
@ -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 }}
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user