Skip to content

Commit

Permalink
Update action
Browse files Browse the repository at this point in the history
  • Loading branch information
srikanthlogic committed Jun 20, 2024
1 parent 0a16d7e commit 8f60019
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/fps_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,20 @@ jobs:
name: ConsolidatedShops.csv
path: ConsolidatedShops.csv

- name: Set tag name to current timestamp
run: |
NOW=$(date +'%Y%m%d%H%M%S')
TAG_NAME="v${NOW}"
echo "::set-env name=TAG_NAME::${TAG_NAME}"
- name: Create release with notes
if: env.no_changes != 'true'
uses: softprops/action-gh-release@v2
with:
files: ConsolidatedShops.csv
tag_name: "v`$(date +'%Y.%m.%d.%H.%M.%S' | tr -d '-')`"
tag_name: "${{ env.TAG_NAME }}"
body: |
Daily update of FPS Shops data -- $(date +'%Y.%m.%d).
Daily update of FPS Shops data.
Changes:
${{ steps.compare-data.outputs.changes }}
Expand Down

0 comments on commit 8f60019

Please sign in to comment.