Skip to content

Commit

Permalink
Change MsBuild GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathijs-Bakker committed Feb 7, 2021
1 parent a81999d commit 9a7fe18
Showing 1 changed file with 3 additions and 49 deletions.
52 changes: 3 additions & 49 deletions .github/workflows/main.yml
Expand Up @@ -72,44 +72,16 @@ jobs:
with:
name: Build
path: build

#enable this job to request a manual unity license
#Request-License:
# runs-on: ubuntu-latest
#if: false
#steps:
# - name: Checkout repository
# uses: actions/checkout@v2
#
# - name: Request manual activation file
# uses: MirrorNG/unity-runner@master
# id: getManualLicenseFile
# with:
# entrypoint: /request_activation.sh

# This will produce a Unity_xxx.alf file
# download it in your computer and upload it to
# https://license.unity3d.com/manual
# That will produce a Unity_xxx.ulf file
# add the contents of Unity_xxx.ulf file to your repository's secrets
# as UNITY_LICENSE
# then disable this job
# - name: Expose as artifact
# uses: actions/upload-artifact@v1
# with:
# name: Manual Activation File
# path: ${{ steps.getManualLicenseFile.outputs.filePath }}



Zenject-usage:
runs-on: [windows-latest]
name: Zenject-usage
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup MSBuild.exe
uses: warrenbuckley/Setup-MSBuild@v1
- name: setup-msbuild
uses: microsoft/setup-msbuild@v1

- name: MSBuild
working-directory: AssemblyBuild\Zenject-usage
Expand Down Expand Up @@ -145,21 +117,3 @@ jobs:
ls -l Zenject-usage
cp Zenject-usage/Zenject-usage.dll UnityProject/Assets/Plugins/Zenject/Source/Usage
ls -l UnityProject/Assets/Plugins/Zenject/Source/Usage
# Upload artifacts
# - name: Publish test results
# uses: actions/upload-artifact@v1
# with:
# name: Test results (editor mode)
# path: UnityProject/Tests/editmode-results.xml

# - name: Release
# uses: cycjimmy/semantic-release-action@v2
# with:
# extra_plugins: |
# @semantic-release/exec
# @semantic-release/changelog
# @semantic-release/git
# branch: master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9a7fe18

Please sign in to comment.