Skip to content

Commit

Permalink
Add Workflow and Dependabot (#54)
Browse files Browse the repository at this point in the history
* Create dependabot.yml

* Create main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Bump external/IniReader from `85c2845` to `e917a99`

Bumps [external/IniReader](https://github.com/ThirteenAG/IniReader) from `85c2845` to `e917a99`.
- [Commits](ThirteenAG/IniReader@85c2845...e917a99)

---
updated-dependencies:
- dependency-name: external/IniReader
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update main.yml

* Update main.yml

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
CanerKaraca23 and dependabot[bot] authored Jan 7, 2024
1 parent 02b50df commit 19ad54f
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "gitsubmodule"
directory: "/"
schedule:
interval: "daily"
49 changes: 49 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build

on:
push:
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1

- name: Configure build
shell: cmd
run: ./premake5.bat

- name: Build
shell: cmd
run: msbuild -m build/III.VC.SA.IV.Project2DFX.sln /property:Configuration=Release /property:Platform=Win32

- name: Download Open Limit Adjuster
uses: robinraju/release-downloader@main
with:
repository: "GTAmodding/III.VC.SA.LimitAdjuster"
latest: true
extract: true
out-file-path: "data"

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
compression-level: 9
name: III.VC.SA.IV.Project2DFX
path: |
data\*
!data\*.exe
!data\*.bat
!data\*.zip
!data\2DFXDataGrabber\
!data\*\*.exp
!data\*\*.lib
!data\*\*.pdb
2 changes: 1 addition & 1 deletion external/IniReader
Submodule IniReader updated 3 files
+5 −0 .gitignore
+179 −15 IniReader.h
+17 −16 ini_parser.hpp

0 comments on commit 19ad54f

Please sign in to comment.