Skip to content

Commit

Permalink
Merge pull request #134 from Settlers4Modding/develop
Browse files Browse the repository at this point in the history
Community Patch Launcher Beta 0.0.1
  • Loading branch information
LitzeYT authored Feb 25, 2021
2 parents ac11b1c + 83b0631 commit bfbbcde
Show file tree
Hide file tree
Showing 244 changed files with 16,113 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
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.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
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.
28 changes: 28 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
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.
Binary file added .github/assets/Agreement.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/assets/VideoGuideold.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 60 additions & 0 deletions .github/workflows/CheckBuild.yml
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/
92 changes: 92 additions & 0 deletions .github/workflows/CreateLatestBuild.yml
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
Loading

0 comments on commit bfbbcde

Please sign in to comment.