|
|
@ -32,8 +32,8 @@ jobs: |
|
|
|
needs: prepare |
|
|
|
needs: prepare |
|
|
|
strategy: |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
matrix: |
|
|
|
product: [app, google] |
|
|
|
product: [ app, google ] |
|
|
|
type: [release, releaseA] |
|
|
|
type: [ release, releaseA ] |
|
|
|
fail-fast: false |
|
|
|
fail-fast: false |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
env: |
|
|
|
env: |
|
|
@ -91,7 +91,7 @@ jobs: |
|
|
|
path: ${{ github.workspace }}/apk/*.apk |
|
|
|
path: ${{ github.workspace }}/apk/*.apk |
|
|
|
|
|
|
|
|
|
|
|
lanzou: |
|
|
|
lanzou: |
|
|
|
needs: [prepare, build] |
|
|
|
needs: [ prepare, build ] |
|
|
|
if: ${{ needs.prepare.outputs.lanzou }} |
|
|
|
if: ${{ needs.prepare.outputs.lanzou }} |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
env: |
|
|
|
env: |
|
|
@ -115,8 +115,9 @@ jobs: |
|
|
|
echo "[$(date -u -d '+8 hour' '+%Y.%m.%d %H:%M:%S')] 分享链接: https://kunfei.lanzoux.com/b0f810h4b" |
|
|
|
echo "[$(date -u -d '+8 hour' '+%Y.%m.%d %H:%M:%S')] 分享链接: https://kunfei.lanzoux.com/b0f810h4b" |
|
|
|
|
|
|
|
|
|
|
|
test_Branch: |
|
|
|
test_Branch: |
|
|
|
needs: [prepare, build] |
|
|
|
needs: [ prepare, build ] |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
if: ${{ github.actor == 'gedoor' }} |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- uses: actions/download-artifact@v2 |
|
|
|
- uses: actions/download-artifact@v2 |
|
|
@ -133,11 +134,11 @@ jobs: |
|
|
|
git checkout -b test |
|
|
|
git checkout -b test |
|
|
|
git add *.apk |
|
|
|
git add *.apk |
|
|
|
git commit -m "${{ needs.prepare.outputs.versionL }}" |
|
|
|
git commit -m "${{ needs.prepare.outputs.versionL }}" |
|
|
|
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}" |
|
|
|
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.actor }}/release" |
|
|
|
git push -f -u origin test |
|
|
|
git push -f -u origin test |
|
|
|
|
|
|
|
|
|
|
|
telegram: |
|
|
|
telegram: |
|
|
|
needs: [prepare, build] |
|
|
|
needs: [ prepare, build ] |
|
|
|
if: ${{ needs.prepare.outputs.telegram }} |
|
|
|
if: ${{ needs.prepare.outputs.telegram }} |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
env: |
|
|
|
env: |
|
|
|