chore: adding CURRENT_DATE environment variable to workflow

This commit is contained in:
LucasGGamerM 2023-04-08 21:00:55 -03:00 committed by GitHub
parent 1698a32d75
commit 6f3cb14dc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,10 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Grant execute permission for gradlew
run: chmod +x gradlew
@ -35,6 +39,7 @@ jobs:
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
CURRENT_DATE: ${{ steps.date.outputs.date }}
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.2