Skip to content

Create-Release-Test #21

Create-Release-Test

Create-Release-Test #21

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
run: |
$date_time = (Get-Date).ToString("yyyy-MM-dd-HHmm")
echo "date_time=$date_time" >> $GITHUB_ENV
- name: Debug Date Output
run: echo "$env:date_time"
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: ${{ steps.get_date_time.outputs.date_time }}
- id: create_release
name: Create a Pre-Release with the Build
uses: softprops/[email protected]
with:
name: ChapterMaster-Windows-${{ steps.get_date_time.outputs.date_time }}
tag_name: ${{ steps.get_date_time.outputs.date_time }}
prerelease: true