Skip to content

Commit

Permalink
[workflow] Add running time
Browse files Browse the repository at this point in the history
  • Loading branch information
NumberSir committed Oct 18, 2023
1 parent cfb9674 commit b69a6b7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/Build-Html-Package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ jobs:

- name: Get Current Time
id: date
run: echo "::set-output name=date::$(date + '%Y%m%d%H%M%S')"
run: echo "::set-output name=date::$(date + '%Y%m%d')"

- name: Archive Release (Releases Manually)
uses: softprops/action-gh-release@v1
Expand All @@ -317,14 +317,14 @@ jobs:
files: ${{ github.workspace }}\\output\\DoL-ModLoader-${{ github.sha }}.zip
name: Release v${{ github.event.inputs.version }}
tag_name: v${{ github.event.inputs.version }}-${{ github.sha }}
body: Release v${{ github.event.inputs.version }}-${{ github.sha }}v
body: Release v${{ github.event.inputs.version }}-${{ github.sha }}

- name: Archive Release (Releases Auto)
uses: softprops/action-gh-release@v1
if: ${{ github.event_name != 'workflow_dispatch' }}
with:
files: ${{ github.workspace }}\\output\\DoL-ModLoader-${{ github.sha }}.zip
name: Auto Release (${{ github.sha }})
tag_name: auto-${{ github.sha }}
body: Auto Release (${{ github.sha }})
name: Auto Release on ${{ steps.date.outputs.date }} (${{ github.sha }})
tag_name: auto-${{ github.sha }}-${{ steps.date.outputs.date }}
body: Auto Release on ${{ steps.date.outputs.date }} (${{ github.sha }})
prerelease: true

0 comments on commit b69a6b7

Please sign in to comment.