mirror of
https://github.com/egorovna-developments/rule-set.git
synced 2026-05-17 02:32:28 +07:00
Update build.yml
This commit is contained in:
@@ -22,8 +22,7 @@ jobs:
|
|||||||
run: sing-box rule-set compile --output ip_cidr.srs ip_cidr.json
|
run: sing-box rule-set compile --output ip_cidr.srs ip_cidr.json
|
||||||
- name: Set up variables
|
- name: Set up variables
|
||||||
id: vars
|
id: vars
|
||||||
run: |
|
run: echo "date_now=$(date +"%Y_%m_%d_%H_%M_%S")" >> "${GITHUB_OUTPUT}"
|
||||||
echo "date_now=$(date +"%Y-%m-%d %T")" >> "${GITHUB_OUTPUT}"
|
|
||||||
- name: Upload files to Releases
|
- name: Upload files to Releases
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
@@ -31,8 +30,7 @@ jobs:
|
|||||||
artifactErrorsFailBuild: true
|
artifactErrorsFailBuild: true
|
||||||
artifacts: ./*.srs
|
artifacts: ./*.srs
|
||||||
body: |
|
body: |
|
||||||
- Last build date: `${{steps.vars.outputs.date_now}}`
|
|
||||||
- Reference commit: ${{github.sha}}
|
- Reference commit: ${{github.sha}}
|
||||||
name: Development build
|
name: ${{steps.vars.outputs.date_now}}
|
||||||
removeArtifacts: true
|
removeArtifacts: true
|
||||||
tag: dev-build
|
tag: ${{steps.vars.outputs.date_now}}
|
||||||
|
|||||||
Reference in New Issue
Block a user