This repository has been archived by the owner on Dec 3, 2024. It is now read-only.
-
-
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.
Merge branch 'master' of https://github.com/OverlordZorn/Immersion-Ci…
- Loading branch information
Showing
3 changed files
with
73 additions
and
0 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,9 @@ | ||
# These are supported funding model platforms | ||
|
||
github: [OverlordZorn] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
patreon: # Replace with a single Patreon username | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: [OverlordZorn] # Replace with a single Ko-fi username | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
custom: https://www.paypal.me/dennisZorn # Replace with a single custom sponsorship URL |
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,46 @@ | ||
name: Release | ||
|
||
on: | ||
release: | ||
types: released | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
release-addon: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set VERSION env | ||
run: echo VERSION=${GITHUB_REF:11} >> $GITHUB_ENV | ||
- name: Checkout the source code | ||
uses: actions/checkout@v2 | ||
- name: Setup HEMTT | ||
uses: arma-actions/hemtt@v1 | ||
- name: Run HEMTT build | ||
run: hemtt release --no-archive | ||
- name: Move release to releases folder | ||
run: | ||
version="${{ github.event.release.tag_name }}" | ||
mv .hemttout/release "@Immersion-Cigs-Hotfix-${{ env.VERSION }}" | ||
- name: Zip release | ||
run: zip -r "@Immersion-Cigs-Hotfix-${{ env.VERSION }}.zip" ./@Immersion-Cigs-Hotfix-${{ env.VERSION }} | ||
- name: Update Release with Files | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: ./@Immersion-Cigs-Hotfix-${{ env.VERSION }}.zip | ||
draft: true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Update to Steam Workshop (stable) | ||
uses: arma-actions/workshop-upload@v1 | ||
with: | ||
itemId: '3146026772' | ||
contentPath: './@Immersion-Cigs-Hotfix-${{ env.VERSION }}' | ||
changelog: | | ||
https://github.com/OverlordZorn/Immersion-Cigs-Hotfixy/releases/tag/v${{ env.VERSION }} | ||
${{ github.event.release.body }} | ||
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: SQF Validator | ||
|
||
on: | ||
push: | ||
branches: | ||
- master_daily | ||
- master | ||
|
||
jobs: | ||
run_python: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
architecture: 'x64' | ||
- run: python tools/sqf_validator.py |