-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update example-licenses-pipeline.yml
- Loading branch information
Showing
1 changed file
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,6 +68,7 @@ jobs: | |
SELENIUM_IMAGE: ${{github.event.inputs.selenium_image}} | ||
EDITOR_VERSION: ${{github.event.inputs.editor_version}} | ||
HEADLESS: ${{github.event.inputs.headless}} | ||
|
||
#- name: Store and Mask License Data | ||
# run: | | ||
# UNITY_LICENSE=$(cat *.ulf) | ||
|
@@ -78,20 +79,35 @@ jobs: | |
# EDITOR_VERSION: ${{github.event.inputs.editor_version}} | ||
# EDITOR_IMAGE: ${{github.event.inputs.editor_image}} | ||
|
||
#- name: Add License as a Github Actions Secret | ||
# uses: hmanzur/[email protected] | ||
# with: | ||
# name: 'UNITY_LICENSE' | ||
# value: echo "$UNITY_LICENSE" | ||
# token: ${{ secrets.PAT }} | ||
|
||
#- name: Return Secret as file | ||
# run: | | ||
# sudo echo "$UNITY_LICENSE" > /tmp/Unity_v2022.x.ulf | ||
# shell: bash | ||
# env: | ||
# UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | ||
|
||
#- name: get a token | ||
# run: | | ||
# curl -L \ | ||
# -H "Accept: application/vnd.github+json" \ | ||
# -H "Authorization: Bearer <YOUR-TOKEN>" \ | ||
# -H "X-GitHub-Api-Version: 2022-11-28" \ | ||
# https://api.github.com/orgs/ORG/actions/secrets/public-key | ||
|
||
#- name: encrypt secret | ||
|
||
#- name: Create new repository secret | ||
# run: | | ||
# curl -X PUT \ | ||
# -H "Accept: application/vnd.github.v3+json" \ | ||
# -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ | ||
# https://api.github.com/repos/$OWNER/$REPO/actions/secrets/$SECRET_NAME \ | ||
# -d '{"encrypted_value":"<encrypted_value>","key_id":"<key_id>"}' | ||
# env: | ||
# OWNER: "buildstar-online" | ||
# REPO: "unity-self-auth" | ||
# SECRET_NAME: "TEST_LICENSE" | ||
|
||
- name: Activate License | ||
run: | | ||
ls -hal && \ | ||
|