mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-05-27 20:10:19 +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:
|
||||
distribution: "zulu"
|
||||
java-version: "17"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- run: |
|
||||
git clone "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" .
|
||||
./build-module.sh
|
||||
- id: get_output_name
|
||||
run: |
|
||||
@ -18,7 +19,9 @@ jobs:
|
||||
shell: bash
|
||||
- name: Current 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
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
@ -27,5 +30,5 @@ jobs:
|
||||
file: ${{ steps.get_output_name.outputs.OUTPUT }}
|
||||
asset_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
|
||||
|
Loading…
x
Reference in New Issue
Block a user