Create-Release-Test #26
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
name: Create-Release-Test | |
on: | |
# push: # Uncomment this line to run the workflow on push | |
workflow_dispatch: # This line allows you to run the workflow manually from the GitHub Actions page | |
workflow_call: # This line allows you to run the workflow from another workflow | |
jobs: | |
build: | |
runs-on: windows-2022 | |
permissions: write-all | |
steps: | |
# Check out the repository with the GameMaker project | |
- uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- id: get_date_time | |
name: Get Current Date | |
shell: pwsh | |
run: | | |
$date_time = (Get-Date).ToString("yyyy-MM-dd-HHmm") | |
echo "date_time=$date_time" >> $env:GITHUB_ENV | |
- id: create_release | |
name: Create a Pre-Release with the Build | |
uses: softprops/[email protected] | |
with: | |
name: ChapterMaster-${{ env.date_time }} | |
tag_name: ${{ env.date_time }} | |
prerelease: true | |
generate_release_notes: true |