diff --git a/.github/workflows/nightly-builds.yml b/.github/workflows/nightly-builds.yml index c382e0dfa..98b1c3dd2 100644 --- a/.github/workflows/nightly-builds.yml +++ b/.github/workflows/nightly-builds.yml @@ -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