Skip to content

Commit

Permalink
chore: apply new features
Browse files Browse the repository at this point in the history
  • Loading branch information
sgpublic committed Aug 20, 2024
1 parent 3d7cafd commit 87b717f
Show file tree
Hide file tree
Showing 22 changed files with 306 additions and 609 deletions.
83 changes: 0 additions & 83 deletions .github/workflows/build-alpha.yml

This file was deleted.

83 changes: 0 additions & 83 deletions .github/workflows/build-beta.yml

This file was deleted.

81 changes: 0 additions & 81 deletions .github/workflows/build-release.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Assemble Release

on:
push:
tags:
- 'v*'

jobs:
build:
runs-on: ubuntu-20.04

steps:
- name: Checkout
uses: actions/[email protected]
with:
token: ${{ secrets.PUBLISHING_GITHUB_TOKEN }}
submodules: 'recursive'

- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo timedatectl set-timezone "Asia/Shanghai"
- name: Setup JDK 17
uses: oracle-actions/setup-java@v1
with:
website: oracle.com
release: 17
version: 17

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Setup Android SDK
uses: android-actions/setup-android@v2

- name: Build with Gradle
env:
PUBLISHING_GITHUB_TOKEN: ${{ secrets.PUBLISHING_GITHUB_TOKEN }}
run: |
bash ./gradlew assembleReleaseAndLocate
bash ./gradlew githubRelease
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ local.properties
version.properties

buildSrc/build/
.kotlin/
.kotlin/
assemble/
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

![GitHub all releases](https://img.shields.io/github/downloads/sgpublic/BiliBangumiDownloader/total) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/sgpublic/BiliBangumiDownloader) ![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/sgpublic/BiliBangumiDownloader?include_prereleases)

此仓库虽然没有积极更新,但作者仍愿意继续维护,若您发现了这个软件,希望作者继续更新,请点个 star 让我知道有人在关注这个软件,也可以进入我的主页加入我的社群直接催更,谢谢您!

哔哩番剧正在迁移至Kotlin,Java实现项目地址:[BiliBangumiDownloader_Java](https://github.com/SGPublic/BiliBangumiDownloader_Java)

## 申明
Expand Down
Loading

0 comments on commit 87b717f

Please sign in to comment.