Skip to content

Commit

Permalink
更新 actions 版本
Browse files Browse the repository at this point in the history
Node.js 16 actions 已被弃用
  • Loading branch information
aaa1115910 committed Apr 29, 2024
1 parent c701895 commit d1daa20
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 31 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: develop
fetch-depth: 0
submodules: 'true'

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
Expand Down Expand Up @@ -84,21 +84,21 @@ jobs:
# upload artifacts alpha debug

- name: Archive alpha debug build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Alpha debug build artifact
path: app/build/outputs/apk/default/debug/BV_${{ env.alpha_debug_info_version_code }}_${{ env.alpha_debug_info_version_name }}_default_universal.apk

# upload artifacts alpha

- name: Archive default alpha build mappings
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Alpha build mappings
path: app/build/outputs/mapping/defaultAlpha

- name: Archive alpha build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Alpha build artifact
path: app/build/outputs/apk/default/alpha/BV_${{ env.alpha_info_version_code }}_${{ env.alpha_info_version_name }}_default_universal.apk
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/alpha_build_manually_without_sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: develop
fetch-depth: 0
submodules: 'true'

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
Expand Down Expand Up @@ -81,91 +81,91 @@ jobs:
# upload artifacts lite-debug

- name: Archive lite debug build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Lite debug build artifact
path: app/build/outputs/apk/lite/debug/${{ env.lite_debug_info_apk_filename }}

# upload artifacts lite-alpha

- name: Archive lite alpha build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Lite alpha build artifact
path: app/build/outputs/apk/lite/alpha/${{ env.lite_alpha_info_apk_filename }}

- name: Archive lite alpha build mappings
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Lite alpha build mappings
path: app/build/outputs/mapping/liteAlpha

# upload artifacts default-debug

- name: Archive default debug build artifacts (universal)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Default debug build artifact (universal)
path: app/build/outputs/apk/default/debug/BV_${{ env.default_debug_info_version_code }}_${{ env.default_debug_info_version_name }}_default_universal.apk

- name: Archive default debug build artifacts (armeabi-v7a)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Default debug build artifact (armeabi-v7a)
path: app/build/outputs/apk/default/debug/BV_${{ env.default_debug_info_version_code }}_${{ env.default_debug_info_version_name }}_default_armeabi-v7a.apk

- name: Archive default debug build artifacts (arm64-v8a)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Default debug build artifact (arm64-v8a)
path: app/build/outputs/apk/default/debug/BV_${{ env.default_debug_info_version_code }}_${{ env.default_debug_info_version_name }}_default_arm64-v8a.apk

- name: Archive default debug build artifacts (x86)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Default debug build artifact (x86)
path: app/build/outputs/apk/default/debug/BV_${{ env.default_debug_info_version_code }}_${{ env.default_debug_info_version_name }}_default_x86.apk

- name: Archive default debug build artifacts (x86_64)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Default debug build artifact (x86_64)
path: app/build/outputs/apk/default/debug/BV_${{ env.default_debug_info_version_code }}_${{ env.default_debug_info_version_name }}_default_x86_64.apk

# upload artifacts default-alpha

- name: Archive default alpha build mappings
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Default alpha build mappings
path: app/build/outputs/mapping/defaultAlpha

- name: Archive default alpha build artifacts (universal)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Default alpha build artifact (universal)
path: app/build/outputs/apk/default/alpha/BV_${{ env.default_alpha_info_version_code }}_${{ env.default_alpha_info_version_name }}_default_universal.apk

- name: Archive default alpha build artifacts (armeabi-v7a)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Default alpha build artifact (armeabi-v7a)
path: app/build/outputs/apk/default/alpha/BV_${{ env.default_alpha_info_version_code }}_${{ env.default_alpha_info_version_name }}_default_armeabi-v7a.apk

- name: Archive default alpha build artifacts (arm64-v8a)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Default alpha build artifact (arm64-v8a)
path: app/build/outputs/apk/default/alpha/BV_${{ env.default_alpha_info_version_code }}_${{ env.default_alpha_info_version_name }}_default_arm64-v8a.apk

- name: Archive default alpha build artifacts (x86)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Default alpha build artifact (x86)
path: app/build/outputs/apk/default/alpha/BV_${{ env.default_alpha_info_version_code }}_${{ env.default_alpha_info_version_name }}_default_x86.apk

- name: Archive default alpha build artifacts (x86_64)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Default alpha build artifact (x86_64)
path: app/build/outputs/apk/default/alpha/BV_${{ env.default_alpha_info_version_code }}_${{ env.default_alpha_info_version_name }}_default_x86_64.apk
10 changes: 5 additions & 5 deletions .github/workflows/features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
fetch-depth: 0
submodules: 'true'

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
Expand Down Expand Up @@ -71,21 +71,21 @@ jobs:
# upload artifacts alpha debug

- name: Archive alpha debug build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Alpha debug build artifact
path: app/build/outputs/apk/default/debug/BV_${{ env.alpha_debug_info_version_code }}_${{ env.alpha_debug_info_version_name }}_default_universal.apk

# upload artifacts alpha

- name: Archive alpha build mappings
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Alpha build mappings
path: app/build/outputs/mapping/defaultAlpha

- name: Archive alpha build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Alpha build artifact
path: app/build/outputs/apk/default/alpha/BV_${{ env.alpha_info_version_code }}_${{ env.alpha_info_version_name }}_default_universal.apk
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: master
fetch-depth: 0
submodules: 'true'

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
Expand Down Expand Up @@ -81,21 +81,21 @@ jobs:
# upload artifacts release debug

- name: Archive release debug build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Release debug build artifact
path: app/build/outputs/apk/default/debug/BV_${{ env.release_debug_info_version_code }}_${{ env.release_debug_info_version_name }}_default_universal.apk

# upload artifacts release

- name: Archive release build mappings
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Release build mappings
path: app/build/outputs/mapping/defaultRelease

- name: Archive release build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Release build artifact
path: app/build/outputs/apk/default/release/BV_${{ env.release_info_version_code }}_${{ env.release_info_version_name }}_default_universal.apk
Expand Down

0 comments on commit d1daa20

Please sign in to comment.