mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-05-29 04:50:20 +02:00
Merge pull request #1 from theoware/patch-1
Improve the CI Former-commit-id: a8c600e7050df8fe4a1ac5fbd07404814d44b7a7
This commit is contained in:
commit
09c8d51e9d
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -8,8 +8,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
distribution: "zulu"
|
distribution: "zulu"
|
||||||
java-version: "17"
|
java-version: "17"
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
- run: |
|
- run: |
|
||||||
git clone "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" .
|
|
||||||
./build-module.sh
|
./build-module.sh
|
||||||
- id: get_output_name
|
- id: get_output_name
|
||||||
run: |
|
run: |
|
||||||
@ -18,7 +19,9 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
- name: Current Date
|
- name: Current Date
|
||||||
id: date
|
id: date
|
||||||
run: echo "::set-output name=DATE::$(date +'%m-%d')"
|
run: |
|
||||||
|
echo "::set-output name=DATE::$(date +'%m-%d')"
|
||||||
|
echo "::set-output name=YYYY::$(date +'%4Y')"
|
||||||
- name: Upload release
|
- name: Upload release
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
@ -27,5 +30,5 @@ jobs:
|
|||||||
file: ${{ steps.get_output_name.outputs.OUTPUT }}
|
file: ${{ steps.get_output_name.outputs.OUTPUT }}
|
||||||
asset_name: ${{ steps.get_output_name.outputs.OUTPUT }}
|
asset_name: ${{ steps.get_output_name.outputs.OUTPUT }}
|
||||||
release_name: ${{ steps.get_output_name.outputs.OUTPUT }}
|
release_name: ${{ steps.get_output_name.outputs.OUTPUT }}
|
||||||
tag: 2022-${{ steps.get_output_name.outputs.VERSION }}-${{ steps.date.outputs.DATE }}
|
tag: ${{ steps.date.outputs.YYYY }}-${{ steps.get_output_name.outputs.VERSION }}-${{ steps.date.outputs.DATE }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user