diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9565bca..86b7f29 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,16 +14,15 @@ jobs: - name: Make run: make - name: Get current date - id: date - run: echo "$(date -u +'%Y-%m-%dT%H:%M:%SZ')" + run: echo "CURRENT_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV - name: Create release id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ steps.date.outputs.date }} - release_name: Release ${{ steps.date.outputs.date }} + tag_name: ${{ CURRENT_DATE }} + release_name: Release ${{ CURRENT_DATE }} body: | Changes in this release: - Added output artifacts