mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-05-08 02:24:28 +02:00
Calculate date
Former-commit-id: 12a04469b51404b3de81c140cfa7d9d34fd53858
This commit is contained in:
parent
13f1c6a4b6
commit
1527ac0105
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -18,7 +18,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 +29,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