-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add CI pipeline configs * Update AUTHORS.txt * Remove BUILD from mod version We're not using it anyway
- Loading branch information
Showing
9 changed files
with
140 additions
and
4 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,43 @@ | ||
[ | ||
{ | ||
"name": "bug", | ||
"color": "#d73a4a", | ||
"description": "Something isn't working" | ||
}, | ||
{ | ||
"name": "bugfix", | ||
"color": "#5e7f03", | ||
"description": "Fix for a bug" | ||
}, | ||
{ | ||
"name": "documentation", | ||
"color": "#0075ca", | ||
"description": "Improvements or additions to documentation" | ||
}, | ||
{ | ||
"name": "duplicate", | ||
"color": "#cfd3d7", | ||
"description": "This issue or pull request already exists" | ||
}, | ||
{ | ||
"name": "feature", | ||
"color": "#21c2c4", | ||
"description": "New feature or request" | ||
}, | ||
{ | ||
"name": "enhancement", | ||
"color": "#a2eeef", | ||
"description": "Fixes and improvements for existing feature" | ||
}, | ||
{ | ||
"name": "cleanup", | ||
"color": "#00ffcc", | ||
"description": "Code cleanup for existing feature" | ||
}, | ||
{ | ||
"name": "ignore changelog", | ||
"color": "#fff", | ||
"description": "Do not add to changelog" | ||
} | ||
] | ||
|
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,33 @@ | ||
branches: | ||
- master | ||
|
||
name-template: 'v$NEXT_PATCH_VERSION' | ||
tag-template: 'v$NEXT_PATCH_VERSION' | ||
|
||
categories: | ||
- title: '**ADDED:**' | ||
labels: | ||
- feature | ||
- title: '**FIXED:**' | ||
labels: | ||
- bugfix | ||
- title: '**CHANGED:**' | ||
labels: | ||
- cleanup | ||
- enhancement | ||
|
||
exclude-labels: | ||
- 'ignore changelog' | ||
|
||
change-template: '- $TITLE (#$NUMBER)' | ||
template: | | ||
_ArmaForces Medical release._ | ||
## Change Log Summary | ||
$CHANGES | ||
replacers: | ||
# Category titles | ||
- search: '/\#\# (\*\*(ADDED|FIXED|CHANGED):\*\*)/g' | ||
replace: '$1' |
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,11 @@ | ||
on: issues | ||
name: Create Default Labels | ||
jobs: | ||
labels: | ||
name: Default Labels Action | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: lannonbr/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,16 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
draft: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Release Drafter | ||
if: github.repository == 'ArmaForces/Medical' | ||
uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,33 @@ | ||
name: Release | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
build_addon: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set VERSION env | ||
run: echo ::set-env name=VERSION::$(echo ${GITHUB_REF:11}) | ||
- name: Build addon with HEMTT | ||
uses: 16AAModTeam/hemtt@stable | ||
with: | ||
command: 'build --release' | ||
# Upload to GitHub | ||
- uses: softprops/action-gh-release@v1 | ||
with: | ||
files: 'releases/ArmaForces_Medical_${{ env.VERSION }}.zip' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# Upload to Steam Workshop | ||
- uses: arma-actions/workshop-upload@v1 | ||
with: | ||
itemId: '1981535406' # Id of item to update | ||
contentPath: 'releases/${{ env.VERSION }}/@armaforces_medical' | ||
changelog: 'https://github.com/ArmaForces/Medical/releases/tag/v${{ env.VERSION }}' | ||
env: | ||
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }} | ||
STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }} |
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ | |
3Mydlo3 | ||
|
||
# CONTRIBUTORS | ||
veteran29 |
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
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#define MAJOR 1 | ||
#define MINOR 0 | ||
#define PATCH 0 | ||
#define BUILD 0 |
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