Skip to content

Commit

Permalink
chore: adding CURRENT_DATE environment variable to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasGGamerM authored Apr 9, 2023
1 parent 1698a32 commit 6f3cb14
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/nightly-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/[email protected]
Expand Down

0 comments on commit 6f3cb14

Please sign in to comment.