Merged master

This commit is contained in:
github-actions[bot] 2023-11-09 08:35:42 +00:00 committed by GitHub
commit 8d8aeb1fb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,45 +6,75 @@ on:
jobs:
CreateRelease:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Checkout Repository
uses: actions/checkout@v3
- name: Merge Master into AssetStoreRelease
uses: devmasx/merge-branch@master
with:
ref: AssetStoreRelease
type: now
from_branch: master
target_branch: AssetStoreRelease
message: "Merged master"
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Merge master into AssetStoreRelease
run: |
git fetch origin master --depth 1
git reset --hard origin/master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#- name: Set Git Config
# run: |
# git config user.name ${{ secrets.COMMITTER_NAME }}
# git config user.email ${{ secrets.COMMITTER_EMAIL }}
- name: Set up .NET Core
uses: actions/setup-dotnet@v1
#- name: Merge Master into AssetStoreRelease
# run: |
# git fetch --unshallow
# git checkout -b AssetStoreRelease
# git pull
# git merge --no-ff master -m "Merged master"
# git push
- name: Install dotnet-script
run: |
dotnet tool install -g dotnet-script
dotnet script --version
#jobs:
# CreateRelease:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout Repo
# uses: actions/checkout@v2
# with:
# ref: AssetStoreRelease
- name: Run CreateRelease.cs
run: |
dotnet script .github/CreateRelease.cs
# - name: Merge master into AssetStoreRelease
# run: |
# git fetch origin master --depth 1
# git reset --hard origin/master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Commit and Push
run: |
git config --local user.name ${{ secrets.COMMITTER_NAME }}
git config --local user.email ${{ secrets.COMMITTER_EMAIL }}
git add Assets/Mirror/version.txt
git commit -m "release!: Asset Store Release" -a
# - name: Set up .NET Core
# uses: actions/setup-dotnet@v1
# Configure Git to rebase when pulling
git config --local pull.rebase true
# - name: Install dotnet-script
# run: |
# dotnet tool install -g dotnet-script
# dotnet script --version
# Perform a git pull to update the local branch with remote changes
git pull origin AssetStoreRelease
# - name: Run CreateRelease.cs
# run: |
# dotnet script .github/CreateRelease.cs
# Push the updated branch to the remote
git push origin AssetStoreRelease
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Commit and Push
# run: |
# git config --local user.name ${{ secrets.COMMITTER_NAME }}
# git config --local user.email ${{ secrets.COMMITTER_EMAIL }}
# git add Assets/Mirror/version.txt
# git commit -m "release!: Asset Store Release" -a
# # Configure Git to rebase when pulling
# git config --local pull.rebase true
# # Perform a git pull to update the local branch with remote changes
# git pull origin AssetStoreRelease
# # Push the updated branch to the remote
# git push origin AssetStoreRelease
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}