mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
763c809e36
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -19,14 +19,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- id: set-ver
|
- id: set-ver
|
||||||
run: |
|
run: |
|
||||||
echo "::set-output name=version::$(date -d "8 hour" -u +3.%y.%m%d%H)"
|
echo "version=$(date -d "8 hour" -u +3.%y.%m%d%H)" >> $GITHUB_OUTPUT
|
||||||
- id: check
|
- id: check
|
||||||
run: |
|
run: |
|
||||||
if [ ! -z "${{ secrets.RELEASE_KEY_STORE }}" ]; then
|
if [ ! -z "${{ secrets.RELEASE_KEY_STORE }}" ]; then
|
||||||
echo "::set-output name=sign::yes"
|
echo "sign=yes" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
if [ ! -z "${{ secrets.SERVICE_ACCOUNT_JSON }}" ]; then
|
if [ ! -z "${{ secrets.SERVICE_ACCOUNT_JSON }}" ]; then
|
||||||
echo "::set-output name=play::yes"
|
echo "play=yes" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@ -48,7 +48,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Release Apk Sign
|
- name: Release Apk Sign
|
||||||
run: |
|
run: |
|
||||||
echo "::set-output name=KeyStore::yes"
|
# not use this output
|
||||||
|
# echo "KeyStore=yes" >> $GITHUB_OUTPUT
|
||||||
echo RELEASE_KEY_ALIAS='${{ secrets.RELEASE_KEY_ALIAS }}' >> gradle.properties
|
echo RELEASE_KEY_ALIAS='${{ secrets.RELEASE_KEY_ALIAS }}' >> gradle.properties
|
||||||
echo RELEASE_KEY_PASSWORD='${{ secrets.RELEASE_KEY_PASSWORD }}' >> gradle.properties
|
echo RELEASE_KEY_PASSWORD='${{ secrets.RELEASE_KEY_PASSWORD }}' >> gradle.properties
|
||||||
echo RELEASE_STORE_PASSWORD='${{ secrets.RELEASE_STORE_PASSWORD }}' >> gradle.properties
|
echo RELEASE_STORE_PASSWORD='${{ secrets.RELEASE_STORE_PASSWORD }}' >> gradle.properties
|
||||||
|
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@ -22,15 +22,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- id: set-ver
|
- id: set-ver
|
||||||
run: |
|
run: |
|
||||||
echo "::set-output name=version::$(date -d "8 hour" -u +3.%y.%m%d%H)"
|
echo "version=$(date -d "8 hour" -u +3.%y.%m%d%H)" >> $GITHUB_OUTPUT
|
||||||
echo "::set-output name=versionL::$(date -d "8 hour" -u +3.%y.%m%d%H%M)"
|
echo "versionL=$(date -d "8 hour" -u +3.%y.%m%d%H%M)" >> $GITHUB_OUTPUT
|
||||||
- id: check
|
- id: check
|
||||||
run: |
|
run: |
|
||||||
if [ ${{ secrets.LANZOU_ID }} ]; then
|
if [ ${{ secrets.LANZOU_ID }} ]; then
|
||||||
echo "::set-output name=lanzou::yes"
|
echo "lanzou=yes" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
if [ ${{ secrets.BOT_TOKEN }} ]; then
|
if [ ${{ secrets.BOT_TOKEN }} ]; then
|
||||||
echo "::set-output name=telegram::yes"
|
echo "telegram=yes" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
Loading…
Reference in New Issue
Block a user