Skip to content

Commit 35078d7

Browse files
authored
Update
1 parent 7924f16 commit 35078d7

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,12 @@ on:
44
push:
55
branches:
66
- main
7-
tags:
8-
- 'v*'
9-
107
env:
118
BUILD_TYPE: Release
129

1310
jobs:
1411
build:
15-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1613
strategy:
1714
fail-fast: false
1815

@@ -32,15 +29,11 @@ jobs:
3229
env:
3330
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
3431

35-
- name: Get version from tag
36-
id: get_version
37-
run: echo "::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}"
38-
3932
- name: Create Release and Upload Release Asset
4033
uses: softprops/action-gh-release@v2
4134
with:
42-
tag_name: v${{ steps.get_version.outputs.version }}
43-
name: Release v${{ steps.get_version.outputs.version }}
35+
tag_name: ${{ github.run_number}}
36+
name: Release ${{ github.run_number }}
4437
body: Support From 1.20.50 to 1.21.60
4538
draft: false
4639
prerelease: false

0 commit comments

Comments
 (0)