-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CYF 0.6.6 LTS 3 - Bits and bobs at the End of Times
- Loading branch information
1 parent
5ac229f
commit d277e90
Showing
463 changed files
with
33,363 additions
and
17,617 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Acquire activation file | ||
on: | ||
workflow_dispatch | ||
jobs: | ||
activation: | ||
name: Request manual activation file 🔑 | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Request manual activation file | ||
- name: Request manual activation file | ||
id: getManualLicenseFile | ||
uses: game-ci/unity-request-activation-file@v2 | ||
# Upload artifact (Unity_v20XX.X.XXXX.alf) | ||
- name: Expose as artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ steps.getManualLicenseFile.outputs.filePath }} | ||
path: ${{ steps.getManualLicenseFile.outputs.filePath }} |
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 |
---|---|---|
@@ -0,0 +1,167 @@ | ||
name: Build CYF & Notify | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
buildWindows: | ||
name: Build CYF (Windows) | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
with: | ||
lfs: true | ||
|
||
# Cache | ||
- uses: actions/cache@v2 | ||
with: | ||
path: Library | ||
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }} | ||
restore-keys: | | ||
Library- | ||
# Build | ||
- name: Build project | ||
uses: game-ci/unity-builder@v2 | ||
env: | ||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | ||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | ||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | ||
with: | ||
targetPlatform: StandaloneWindows64 | ||
buildMethod: UnityBuilderAction.BuildScript.Build | ||
buildName: CreateYourFrisk-win64 | ||
|
||
# Copy Assets to Build | ||
- run: sudo mkdir -v "${{ github.workspace }}/build/StandaloneWindows64/Default" "${{ github.workspace }}/build/StandaloneWindows64/Mods" | ||
- run: sudo cp -Rv "${{ github.workspace }}/Assets/Default/" "${{ github.workspace }}/build/StandaloneWindows64/" | ||
- run: sudo cp -Rv "${{ github.workspace }}/Assets/Mods/" "${{ github.workspace }}/build/StandaloneWindows64/" | ||
- run: sudo cp -Rv "${{ github.workspace }}/Documentation CYF 1.0/" "${{ github.workspace }}/build" | ||
- run: sudo find ${{ github.workspace }}/build/StandaloneWindows64/ -name "*.meta" -type f -delete | ||
- run: sudo mv ${{ github.workspace }}/build/StandaloneWindows64/ ${{ github.workspace }}/build/CreateYourFrisk/ | ||
|
||
# Output | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: CreateYourFrisk-win64 | ||
path: build | ||
|
||
buildMacOS: | ||
name: Build CYF (MacOS) | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
with: | ||
lfs: true | ||
|
||
# Cache | ||
- uses: actions/cache@v2 | ||
with: | ||
path: Library | ||
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }} | ||
restore-keys: | | ||
Library- | ||
# Build | ||
- name: Build project | ||
uses: game-ci/unity-builder@v2 | ||
env: | ||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | ||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | ||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | ||
with: | ||
targetPlatform: StandaloneOSX | ||
buildMethod: UnityBuilderAction.BuildScript.Build | ||
buildName: CreateYourFrisk-macos64 | ||
|
||
# Copy Assets to Build | ||
- run: sudo mkdir -v "${{ github.workspace }}/build/StandaloneOSX/Default" "${{ github.workspace }}/build/StandaloneOSX/Mods" | ||
- run: sudo cp -Rv "${{ github.workspace }}/Assets/Default/" "${{ github.workspace }}/build/StandaloneOSX/" | ||
- run: sudo cp -Rv "${{ github.workspace }}/Assets/Mods/" "${{ github.workspace }}/build/StandaloneOSX/" | ||
- run: sudo cp -Rv "${{ github.workspace }}/Documentation CYF 1.0/" "${{ github.workspace }}/build" | ||
- run: sudo cp "${{ github.workspace }}/How to use CYF and add mods (Mac).txt" "${{ github.workspace }}/build/StandaloneOSX/" | ||
- run: sudo find ${{ github.workspace }}/build/StandaloneOSX/ -name "*.meta" -type f -delete | ||
- run: sudo mv ${{ github.workspace }}/build/StandaloneOSX/ ${{ github.workspace }}/build/CreateYourFrisk/ | ||
|
||
# Output | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: CreateYourFrisk-macos64 | ||
path: build | ||
|
||
buildLinux: | ||
name: Build CYF (Linux) | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
with: | ||
lfs: true | ||
|
||
# Cache | ||
- uses: actions/cache@v2 | ||
with: | ||
path: Library | ||
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }} | ||
restore-keys: | | ||
Library- | ||
# Build | ||
- name: Build project | ||
uses: game-ci/unity-builder@v2 | ||
env: | ||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | ||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | ||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | ||
with: | ||
targetPlatform: StandaloneLinux64 | ||
buildMethod: UnityBuilderAction.BuildScript.Build | ||
buildName: CreateYourFrisk-lin64 | ||
|
||
# Copy Assets to Build | ||
- run: sudo mkdir -v "${{ github.workspace }}/build/StandaloneLinux64/Default" "${{ github.workspace }}/build/StandaloneLinux64/Mods" | ||
- run: sudo cp -Rv "${{ github.workspace }}/Assets/Default/" "${{ github.workspace }}/build/StandaloneLinux64/" | ||
- run: sudo cp -Rv "${{ github.workspace }}/Assets/Mods/" "${{ github.workspace }}/build/StandaloneLinux64/" | ||
- run: sudo cp -Rv "${{ github.workspace }}/Documentation CYF 1.0/" "${{ github.workspace }}/build" | ||
- run: sudo find ${{ github.workspace }}/build/StandaloneLinux64/ -name "*.meta" -type f -delete | ||
- run: sudo mv ${{ github.workspace }}/build/StandaloneLinux64/ ${{ github.workspace }}/build/CreateYourFrisk/ | ||
|
||
# Output | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: CreateYourFrisk-lin64 | ||
path: build | ||
|
||
message-success: | ||
runs-on: ubuntu-latest | ||
needs: [buildWindows, buildMacOS, buildLinux] | ||
if: success() | ||
steps: | ||
- name: Send Success Message | ||
uses: tsickert/[email protected] | ||
with: | ||
webhook-url: ${{ secrets.NIGHTLY_WEBHOOK_LINK }} | ||
username: Poseur Mail Service | ||
avatar-url: https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png | ||
content: | | ||
The last CYF nightly is ready to be used! Enjoy! | ||
The links are stored here: https://discord.com/channels/110129114882543616/220238710271115265/1129795830317064314 | ||
message-failure: | ||
runs-on: ubuntu-latest | ||
needs: [buildWindows, buildMacOS, buildLinux] | ||
if: failure() | ||
steps: | ||
- name: Send Failure Message | ||
uses: tsickert/[email protected] | ||
with: | ||
webhook-url: ${{ secrets.NIGHTLY_WEBHOOK_LINK }} | ||
username: Poseur Mail Service | ||
avatar-url: https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png | ||
content: | | ||
Oh no! The last CYF build failed! You're bad at your job! | ||
The run's details are here: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Send a message to the channel cyf-nightly | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["Build CYF"] | ||
types: | ||
- completed | ||
workflow_dispatch: | ||
|
||
jobs: | ||
message: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Discord Webhook Action | ||
uses: tsickert/[email protected] | ||
with: | ||
webhook-url: ${{ secrets.NIGHTLY_WEBHOOK_LINK }} | ||
username: Poseur Mail Service | ||
avatar-url: https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png | ||
content: | | ||
The last CYF nightly is ready to be used! Enjoy! | ||
The links are stored here: https://discord.com/channels/110129114882543616/220238710271115265/1129795830317064314 | ||
This file was deleted.
Oops, something went wrong.
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,8 +68,7 @@ sysinfo.txt | |
/.vs/* | ||
/.vscode/* | ||
/.bin/* | ||
/.github | ||
|
||
# GIMP project files | ||
*.xcf | ||
*.xcf.meta | ||
*.xcf.meta |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"version": "1.0", | ||
"components": [ | ||
"Microsoft.VisualStudio.Workload.ManagedGame" | ||
] | ||
} |
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
2 changes: 1 addition & 1 deletion
2
Assets/Scripts/Discord.meta → Assets/Editor/UnityBuilderAction.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.