-
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.
Merge pull request #134 from Settlers4Modding/develop
Community Patch Launcher Beta 0.0.1
- Loading branch information
Showing
244 changed files
with
16,113 additions
and
1 deletion.
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,30 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "[BUG]" | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
- OS: [e.g. Windows 7,8,8.1,10] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
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,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "[FEATURE]" | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
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,28 @@ | ||
**What is this Pull-Request about** | ||
|
||
What did get fixed. | ||
What was extended or implemented. | ||
What did you change. | ||
|
||
**What issue is this Pull-Request solving** | ||
|
||
As example type `closes #` or `fixing #`. | ||
|
||
** How has this been tested? ** | ||
|
||
Which tests did you run to verify your changes? | ||
|
||
* [x] Test A | ||
* [ ] Test B | ||
|
||
** Checklist ** | ||
|
||
* [ ] **IMPORTANT** I have checked that this pull request is targeting the develop branch | ||
* [ ] I have reviewed my code | ||
* [ ] I have added all the required summary blocks to my classes, methods and variables/fields | ||
|
||
**Special information required for reviewing or testing** | ||
|
||
Write down any special information the reviewer could need for his or her review or any information to test this Pull-Request. | ||
|
||
Please write comments on the `changed files` tab to the code if you want to explain something more into detail to the reviewers. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,60 @@ | ||
name: Check build | ||
|
||
on: [workflow_dispatch, pull_request] | ||
|
||
jobs: | ||
checkBuild: | ||
name: Check Build | ||
runs-on: windows-latest | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
- name: Install nuget | ||
uses: nuget/setup-nuget@v1 | ||
- name: Nuget restore | ||
run: nuget restore | ||
shell: powershell | ||
- name: Setup msbuild | ||
uses: microsoft/[email protected] | ||
- name: Build project | ||
run: msbuild /t:Build /p:Configuration=Release | ||
shell: powershell | ||
- name: Move artifact files | ||
run: | | ||
mkdir upload-artifacts\ | ||
mv .\src\CommunityPatchLauncher\bin\Release\** upload-artifacts\ | ||
mv LICENSE upload-artifacts\ | ||
mv README.md upload-artifacts\ | ||
shell: powershell | ||
- name: Upload build artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: BuildArtifact | ||
path: | | ||
upload-artifacts/ | ||
checkInstaller: | ||
name: Check Installer | ||
needs: ["checkBuild"] | ||
runs-on: windows-latest | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: BuildArtifact | ||
path: dist | ||
- name: Create installation file | ||
run: | | ||
cd Installer | ||
iscc /dMyAppVersion="0.0.0" .\InstallationScript.iss | ||
- name: Move artifact | ||
run: | | ||
mkdir upload-artifacts/ | ||
mv Installer/Output/* upload-artifacts/ | ||
- name: Upload build artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: InstallerArtifact | ||
path: | | ||
upload-artifacts/ |
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,92 @@ | ||
name: Latest unstable build | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
createBuild: | ||
name: Create latest build artifact | ||
runs-on: windows-latest | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: develop | ||
- name: Install nuget | ||
uses: nuget/setup-nuget@v1 | ||
- name: Setup msbuild | ||
uses: microsoft/[email protected] | ||
- name: Build project | ||
run: | | ||
nuget restore | ||
msbuild /t:Build /p:Configuration=Release | ||
shell: powershell | ||
- name: Move artifact files | ||
run: | | ||
mkdir upload-artifacts\ | ||
mv .\src\CommunityPatchLauncher\bin\Release\** upload-artifacts\ | ||
mv LICENSE upload-artifacts\ | ||
mv README.md upload-artifacts\ | ||
shell: powershell | ||
- name: Upload build artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: BuildArtifact | ||
path: | | ||
upload-artifacts/ | ||
createZip: | ||
name: Create zip | ||
needs: ["createBuild"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: BuildArtifact | ||
path: dist | ||
- name: Create zip | ||
run: | | ||
cd dist/ | ||
zip -r LatestDevelopment_CommunityPatchLauncher.zip . | ||
- name: Move artifact | ||
run: | | ||
mkdir upload-artifacts/ | ||
mv dist/LatestDevelopment_CommunityPatchLauncher.zip upload-artifacts/ | ||
- name: Upload build artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ZipArtifact | ||
path: | | ||
upload-artifacts/ | ||
uploadRelease: | ||
name: Upload release | ||
needs: ["createZip"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v2 | ||
with: | ||
path: dist | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }}-${{ GITHUB.RUN_NUMBER }} | ||
release_name: Latest unstable | ||
body: You cannot update this version from within the application! | ||
draft: false | ||
prerelease: true | ||
- name: Upload CommunityPatchLauncher develop artifact | ||
id: upload-application-release-asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: dist/ZipArtifact/LatestDevelopment_CommunityPatchLauncher.zip | ||
asset_name: LatestDevelopment_CommunityPatchLauncher.zip | ||
asset_content_type: application/zip |
Oops, something went wrong.