Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
OverlordZorn committed Aug 12, 2024
2 parents f4a38e1 + b72e142 commit 0f65a04
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/FUNDING.yml
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
46 changes: 46 additions & 0 deletions .github/workflows/release.yml
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 }}
18 changes: 18 additions & 0 deletions .github/workflows/sqf-validator.yml
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

0 comments on commit 0f65a04

Please sign in to comment.