-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitVersion & add some (hopefully working) CI/CD infrastructure
- Loading branch information
Showing
5 changed files
with
112 additions
and
12 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 @@ | ||
[![EdgeGamers](https://cdn.edgm.io/images/brand/ego_text_blue.webp)](https://edgm.rs/)⠀⠀[![Discord](https://img.shields.io/discord/161245089774043136?style=for-the-badge&logo=discord&logoColor=%23ffffff&label=Join%20Our%20Discord&color=%235865F2 | ||
)](https://edgm.rs/discord)⠀⠀[![Commits](https://img.shields.io/badge/COMMITS-gray?style=for-the-badge&logo=git&logoColor=%23fff&color=f05032)](https://github.com/edgegamers/Jailbreak/commits/1.0.0) | ||
|
||
## Major Changes | ||
- **⚙️ Server** | ||
- **👮 Guards** | ||
- **🎃 Prisoners** | ||
- **🛕 Maps** | ||
|
||
## Installing | ||
|
||
To install Jailbreak, download the `jailbreak.zip` file below and extract it into your CounterStrikeSharp `plugins` directory. | ||
Jailbreak is ready-to-run out of the box without any additional configuration. | ||
|
||
## Known Issues | ||
|
||
*No known issues yet!* | ||
To report a bug or issue with this release, please [open an issue](https://github.com/edgegamers/Jailbreak/issues) |
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 |
---|---|---|
|
@@ -7,39 +7,40 @@ on: [push, pull_request] | |
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Insert Job Version | ||
run: sed -i "s/{GIT_VERSION}/${{github.run_number}}/g" src/Jailbreak/Jailbreak.cs | ||
|
||
with: | ||
fetch-depth: 0 | ||
fetch-tags: true | ||
show-progress: true, | ||
|
||
- name: Setup .NET SDK | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
||
- run: | | ||
dotnet restore | ||
dotnet build src/Jailbreak/Jailbreak.csproj --no-restore | ||
dotnet publish src/Jailbreak/Jailbreak.csproj --no-build --no-restore | ||
- uses: actions/[email protected] | ||
with: | ||
name: jailbreak-nightly | ||
path: build | ||
path: build/Jailbreak | ||
# If build didn't put any artifacts in the build folder, consider it an error | ||
if-no-files-found: error | ||
post_webhook: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
if: github.ref == 'refs/heads/dev' | ||
|
||
steps: | ||
- name: POST Webhook | ||
run: | | ||
curl -X POST \ | ||
--fail \ | ||
-F token=${{ secrets.GITLAB_SECRET_TOKEN }} \ | ||
-F ref=dev \ | ||
https://gitlab.edgegamers.io/api/v4/projects/2594/trigger/pipeline | ||
https://gitlab.edgegamers.io/api/v4/projects/2594/trigger/pipeline |
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: Release | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- "*" | ||
tags: | ||
- "*" | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
fetch-tags: true | ||
show-progress: true, | ||
|
||
- name: Setup .NET SDK | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
||
- run: | | ||
dotnet restore | ||
dotnet build src/Jailbreak/Jailbreak.csproj --no-restore | ||
dotnet publish src/Jailbreak/Jailbreak.csproj --no-build --no-restore | ||
- uses: actions/[email protected] | ||
with: | ||
name: jailbreak | ||
path: build/Jailbreak | ||
# If build didn't put any artifacts in the build folder, consider it an error | ||
if-no-files-found: error | ||
|
||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
draft: true | ||
fail_on_unmatched_files: true | ||
files: build/Jailbreak.zip | ||
body_path: .github/release_template.md |
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