From 75506cf6c90ae5787e1e0aa43fb69bfc07397cf4 Mon Sep 17 00:00:00 2001 From: Filip Maciejewski Date: Thu, 19 Dec 2024 23:12:13 +0100 Subject: [PATCH] Add workbench job --- .editorconfig | 3 +++ .github/workflows/workbench.yaml | 44 ++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 .github/workflows/workbench.yaml diff --git a/.editorconfig b/.editorconfig index a2305c6..58ed669 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,3 +13,6 @@ indent_style = tab [*.md] trim_trailing_whitespace = false + +[*.yaml] +indent_size = 2 diff --git a/.github/workflows/workbench.yaml b/.github/workflows/workbench.yaml new file mode 100644 index 0000000..12d95e1 --- /dev/null +++ b/.github/workflows/workbench.yaml @@ -0,0 +1,44 @@ +name: Build & Release + +on: + push: ~ + release: + types: [published] + +jobs: + stable: + # if: github.ref_name == 'main' + name: Stable + runs-on: windows-2025 + steps: + - name: Install DepotDownloader + run: winget install --exact --id SteamRE.DepotDownloader + + - name: Install Arma Reforger + run: depotdownloader -dir c:\reforger -app 1874880 -username ${env:STEAM_USERNAME} -password ${env:STEAM_PASSWORD} + env: + STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }} + STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }} + - name: Install Arma Reforger Tools + run: c:\DepotDownloader\DepotDownloader.exe -dir C:\tools -app 1874910 -username ${env:STEAM_USERNAME} -password ${env:STEAM_PASSWORD} + env: + STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }} + STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }} + + experimental: + name: Experimental + runs-on: windows-2025 + steps: + - name: Install DepotDownloader + run: winget install --exact --id SteamRE.DepotDownloader + + - name: Install Arma Reforger + run: depotdownloader -dir c:\reforger -app 1890860 -username ${env:STEAM_USERNAME} -password ${env:STEAM_PASSWORD} + env: + STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }} + STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }} + - name: Install Arma Reforger Tools + run: c:\DepotDownloader\DepotDownloader.exe -dir C:\tools -app 1890880 -username ${env:STEAM_USERNAME} -password ${env:STEAM_PASSWORD} + env: + STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }} + STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }}