mirror of
https://github.com/SagerNet/sing-geoip.git
synced 2025-12-16 14:23:17 +08:00
Add support to publish fixed release
This commit is contained in:
5
.github/workflows/release.yaml
vendored
5
.github/workflows/release.yaml
vendored
@@ -1,6 +1,9 @@
|
||||
name: Release
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tag:
|
||||
description: "The tag version you want to build"
|
||||
schedule:
|
||||
- cron: "0 8 12 * *"
|
||||
jobs:
|
||||
@@ -19,6 +22,8 @@ jobs:
|
||||
- name: Build geoip
|
||||
id: build
|
||||
run: go run -v .
|
||||
env:
|
||||
FIXED_RELEASE: ${{ github.event.inputs.tag }}
|
||||
- name: Release rule sets
|
||||
if: steps.build.outputs.skip != 'true'
|
||||
run: .github/release-rule-set.sh
|
||||
|
||||
Reference in New Issue
Block a user