Created
July 25, 2022 20:05
-
-
Save sontek/1c6f6efd37c9aa92dadf3d0bcfe1f472 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- name: Get current date | |
id: date | |
run: echo "::set-output name=date::$(date +'%Y.%m.%d')" | |
- name: Setting version | |
run: echo "BUILD_VERSION=${{ steps.date.outputs.date }}.${{ github.run_id }}.${{ github.run_number }}" >> $GITHUB_ENV |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment