Skip to content

Create-Release-Test #26

Create-Release-Test

Create-Release-Test #26

Workflow file for this run

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