Mirror/.github/workflows/CreateRelease.yml

35 lines
866 B
YAML
Raw Normal View History

name: Create Release
on:
workflow_dispatch:
jobs:
2023-11-08 14:33:51 +00:00
CreateRelease:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
with:
2023-11-08 14:45:20 +00:00
ref: master
2023-11-08 14:37:14 +00:00
- name: Merge master into AssetStoreRelease
run: |
2023-11-08 14:45:20 +00:00
git checkout AssetStoreRelease
2023-11-08 14:37:14 +00:00
git merge master
- name: Set up .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.301
- name: Run CreateRelease.cs
run: |
dotnet script .github/CreateRelease.cs
- name: Commit and Push
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add Assets/Mirror/version.txt
git commit -m "release!: Asset Store Release" -a
git push origin AssetStoreRelease