Skip to content

Commit

Permalink
Cleanup after trial and error
Browse files Browse the repository at this point in the history
  • Loading branch information
webbertakken committed Dec 3, 2019
1 parent 6b38400 commit 51fbe1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ jobs:
activateAndThenReturnLicense:
name: returnLicense 🎈
runs-on: ubuntu-latest
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}

steps:
# Checkout repository (required to test local actions)
- name: Checkout repository
Expand All @@ -13,11 +16,7 @@ jobs:
# Activate Unity
- name: Activate Unity
uses: webbertakken/unity-activate@v1
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}

# Return License
- name: Return license
uses: ./
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
4 changes: 3 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env bash

#
# Return a Unity Pro license and free up a spot towards the maximum number of active licenses.
# PROFESSIONAL (SERIAL) LICENSE MODE
#
# This will return the license that is currently in use.
#
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
/opt/Unity/Editor/Unity \
Expand Down

0 comments on commit 51fbe1a

Please sign in to comment.