ci: update go version
This commit is contained in:
parent
8346f2aeba
commit
6cf0b5e424
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
- name: setup Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.20.x
|
||||
go-version: 1.21.x
|
||||
|
||||
- uses: maxim-lobanov/setup-xcode@v1
|
||||
with:
|
||||
@ -30,7 +30,7 @@ jobs:
|
||||
- name: install deps
|
||||
run: |
|
||||
bash install_dependency.sh
|
||||
|
||||
|
||||
- name: update dev build version
|
||||
if: ${{!startsWith(github.ref, 'refs/tags/')}}
|
||||
run: |
|
||||
@ -38,7 +38,7 @@ jobs:
|
||||
bundle exec fastlane run increment_build_number_in_plist build_number:"${tag}" scheme:"ClashX"
|
||||
bundle exec fastlane run increment_version_number_in_plist version_number:"${tag}" scheme:"ClashX"
|
||||
bundle exec fastlane run set_info_plist_value path:ClashX/Info.plist key:BETA value:true
|
||||
|
||||
|
||||
- name: update tag build version
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
@ -72,7 +72,7 @@ jobs:
|
||||
create-dmg ClashX.app
|
||||
mv ClashX*.dmg ClashX.dmg
|
||||
|
||||
- name: notarize
|
||||
- name: notarize
|
||||
if: startsWith(github.ref, 'refs/tags/') || contains(github.event.head_commit.message, '[beta]')
|
||||
env:
|
||||
FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }}
|
||||
@ -81,7 +81,7 @@ jobs:
|
||||
run: |
|
||||
bundle exec fastlane run notarize package:"./ClashX.dmg" bundle_id:"com.west2online.ClashX" asc_provider:MEWHFZ92DY
|
||||
|
||||
- name: upload to appcenter
|
||||
- name: upload to appcenter
|
||||
if: startsWith(github.ref, 'refs/tags/') || contains(github.event.head_commit.message, '[beta]')
|
||||
env:
|
||||
APPCENTER_DISTRIBUTE_UPLOAD_BUILD_ONLY: true
|
||||
|
Loading…
Reference in New Issue
Block a user