Update workflows (#107)
* Update all other dependencies in tidy.yml * check update for golang * test build * Revert "Update all other dependencies in tidy.yml" This reverts commit 6fc93ca101228e55c2618ff5f64c9e26f7d4c921. * remove on:push: for tidy.yml
This commit is contained in:
1 parent
c60679bf4b
commit
412ae9774c
2 files changed
+9
-5
No files matched your search
@@ -4,8 +4,14 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
release_tag:
|
||||
required: true
|
||||
required: false
|
||||
type: string
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -55,6 +61,7 @@ jobs:
|
||||
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
|
||||
|
||||
- name: Upload AndroidLibXrayLite to release
|
||||
if: github.event.inputs.release_tag != ''
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
file: ./libv2ray*r
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
name: Check and Update xray-core
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch:
|
||||
@@ -50,7 +47,7 @@ jobs:
|
||||
if: env.needs_update == 'true'
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
go-version: 'stable'
|
||||
|
||||
- name: Update and commit changes
|
||||
if: env.needs_update == 'true'
|
||||
|
||||
Reference in new issue
Block a user