Use versioned TDLib releases from shinoa-tdlib
All checks were successful
Release App / release-app (push) Successful in 1m1s
All checks were successful
Release App / release-app (push) Successful in 1m1s
This commit is contained in:
@@ -16,7 +16,8 @@ jobs:
|
|||||||
RELEASE_TAG: latest
|
RELEASE_TAG: latest
|
||||||
ARCHIVE_NAME: shinoa-linux-x86_64.tar.gz
|
ARCHIVE_NAME: shinoa-linux-x86_64.tar.gz
|
||||||
CHECKSUM_NAME: shinoa-linux-x86_64.tar.gz.sha256
|
CHECKSUM_NAME: shinoa-linux-x86_64.tar.gz.sha256
|
||||||
TDLIB_ARCHIVE_URL: ${{ gitea.server_url }}/${{ gitea.repository }}/releases/download/tdlib/tdlib-linux-x86_64.tar.gz
|
TDLIB_RELEASE_TAG: v1.8.63
|
||||||
|
TDLIB_ARCHIVE_URL: https://git.mshq.dev/AxiFisk/shinoa-tdlib/releases/download/${{ env.TDLIB_RELEASE_TAG }}/tdlib-linux-x86_64.tar.gz
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: https://github.com/actions/checkout@v4
|
uses: https://github.com/actions/checkout@v4
|
||||||
|
|||||||
@@ -64,7 +64,8 @@ archive plus checksum to the Gitea Generic Package Registry under the `tdlib` pa
|
|||||||
It also refreshes a `latest/tdlib-latest.json` manifest with the newest published version.
|
It also refreshes a `latest/tdlib-latest.json` manifest with the newest published version.
|
||||||
|
|
||||||
The repository also includes [`.gitea/workflows/release-app.yaml`](.gitea/workflows/release-app.yaml),
|
The repository also includes [`.gitea/workflows/release-app.yaml`](.gitea/workflows/release-app.yaml),
|
||||||
which downloads a prebuilt TDLib bundle from this repository's `tdlib` release tag, builds a
|
which downloads a prebuilt TDLib bundle from the `shinoa-tdlib` repository using a pinned
|
||||||
|
version tag such as `v1.8.63`, builds a
|
||||||
rolling `latest` app release, and publishes an archive containing `usr/bin/shinoa` plus the
|
rolling `latest` app release, and publishes an archive containing `usr/bin/shinoa` plus the
|
||||||
bundled `usr/lib/libtdjson.so*`. The root `PKGBUILD` installs that prebuilt release as
|
bundled `usr/lib/libtdjson.so*`. The root `PKGBUILD` installs that prebuilt release as
|
||||||
`shinoa-bin`.
|
`shinoa-bin`.
|
||||||
@@ -78,8 +79,10 @@ cmake --install td-build
|
|||||||
./scripts/package-tdlib.sh td-install tdlib-linux-x86_64.tar.gz
|
./scripts/package-tdlib.sh td-install tdlib-linux-x86_64.tar.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
Upload `tdlib-linux-x86_64.tar.gz` to a release tagged `tdlib` in this repository. After that,
|
Publish `tdlib-linux-x86_64.tar.gz` to the `shinoa-tdlib` repository under a versioned tag such
|
||||||
the `Release App` workflow can consume it and publish the app bundle.
|
as `v1.8.63`. Then update `TDLIB_RELEASE_TAG` in
|
||||||
|
[`.gitea/workflows/release-app.yaml`](.gitea/workflows/release-app.yaml) and run the
|
||||||
|
`Release App` workflow.
|
||||||
|
|
||||||
## Keys
|
## Keys
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user