Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
trevyn committed Jun 18, 2024
1 parent 4598378 commit f50f9e7
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: ci
on:
push:
pull_request:
schedule: [cron: "40 1 * * *"]

permissions:
contents: read
Expand Down Expand Up @@ -32,13 +31,13 @@ jobs:
- run: ls
- run: ls Godottest

- run: Compress-Archive Godottest Godottest.zip
- run: ls
# - run: Compress-Archive Godottest Godottest.zip
# - run: ls

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Godottest.zip
path: Godottest.zip
name: Godottest
path: Godottest/
if-no-files-found: error

publish:
Expand All @@ -48,6 +47,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4

- name: install steamcmd
run: |
Expand All @@ -60,5 +60,11 @@ jobs:
mkdir -p ~/Steam/config
- run: echo "${{ secrets.STEAM_CONFIG_VDF }}" | base64 -d > ~/Steam/config/config.vdf
- run: sed -i 's/STEAM_APP_ID/${{ secrets.STEAM_APP_ID }}/g' manifest.vdf
- run: sed -i 's/STEAM_DEPOT/${{ secrets.STEAM_DEPOT }}/g' manifest.vdf
- run: pwd
- run: ls
- run: ls Godottest

- run: steamcmd +login ${{ secrets.STEAM_USERNAME }} +quit
# - run: steamcmd +login ${{ secrets.STEAM_USERNAME }} +runappbuild +quit
20 changes: 20 additions & 0 deletions manifest.vdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
"AppBuild"
{
"AppID" "STEAM_APP_ID"
"Desc" "This is a simple build script"
"ContentRoot" "Godottest/"
"BuildOutput" "output/"
"SetLive" "dev"
"Depots"
{
"STEAM_DEPOT"
{
"FileMapping"
{
"LocalPath" "*"
"DepotPath" "."
"recursive" "1"
}
}
}
}

0 comments on commit f50f9e7

Please sign in to comment.