Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazrius committed Mar 9, 2024
1 parent a918035 commit ee51a8d
Show file tree
Hide file tree
Showing 5 changed files with 103 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## TODO
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG-REPORT.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "Bug Report"
description: Create a new ticket for a bug.
title: "Bug - <title>"
labels: [
"bug"
]
body:
- type: checkboxes
attributes:
label: Chaos Mod Components
description: What parts of ChaosMod were you using at the time of the bug?
options:
- label: This effect is related to a "Chaos Effect"
- label: This effect is related to the randomizer/patch notes
- label: This effect only occurs during a mission
- label: I can reliably reproduce this bug
- type: textarea
id: description
attributes:
label: "Description"
description: Please enter an explicit description of your issue
placeholder: Short and explicit description of your issue.
validations:
required: true
- type: textarea
id: reprod
attributes:
label: "Reproduction steps"
description: If possible explain how to reproduce this issue
value: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
render: bash
validations:
required: false
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
60 changes: 60 additions & 0 deletions .github/workflows/build-installer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Build Installer
on:
push
# branches: [ master ]

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true

- name: Export GitHub Actions cache environment variables
uses: actions/github-script@v6
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
- uses: ilammy/[email protected]
with:
arch: x86

- name: Compile ChaosMod
run: msbuild.exe "${env:GITHUB_WORKSPACE}\FreelancerChaosMod.sln" /t:Build /p:Configuration=Release /p:Platform=Win32

- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d-%H-%M')"

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.date.outputs.date }}
release_name: "${{ steps.date.outputs.date }}"
body: |
"Auto-generated build"
draft: false
prerelease: true

- name: Zip dlls
run: |
powershell Compress-Archive -Path .\dist\Release -DestinationPath .\Release.zip
- name: Upload Release Asset
id: upload-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: ./Release.zip
asset_name: Release.zip
asset_content_type: application/zip


4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## TODO Readme

## Contributing

See [contributing guidelines]("./.github/CONTRIBUTING.md) for more information.

## Credits

### Direct
Expand Down

0 comments on commit ee51a8d

Please sign in to comment.