Skip to content

Commit

Permalink
Update gen.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xplshn authored Oct 23, 2024
1 parent 68ef0c9 commit fa5b130
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ jobs:
fi
ls "$OUT_DIR"
UTC_TIME="$(TZ='UTC' date +'%Y-%m-%d_%I:%M:%S_%p' | tr ' :-' '_')"
echo "UTC_TIME=${UTC_TIME}" >> "${GITHUB_ENV}"
# Set the output for the OUT_DIR variable
echo "OUT_DIR=${OUT_DIR}" >> $GITHUB_ENV
continue-on-error: true
Expand Down Expand Up @@ -124,8 +128,8 @@ jobs:
- name: Create Release
uses: softprops/action-gh-release@v2.0.8
with:
name: "Weekly Release - Run ${{ github.run_id }}"
tag_name: "weekly-release-${{ github.run_id }}-${{ github.sha }}"
name: "Weekly Release - ${{ env.UTC_TIME }}"
tag_name: "${{ env.UTC_TIME }}"
prerelease: false
draft: false
generate_release_notes: false
Expand Down

0 comments on commit fa5b130

Please sign in to comment.