Skip to content

Commit

Permalink
feat(CI): Add workflow for building the Steam depot (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
tibetiroka authored Jun 22, 2024
1 parent 78f1e16 commit c0bd9fa
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/steam.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Steam depot

on:
workflow_dispatch:

jobs:
create_depot:
name: Create Steam depot
runs-on: ubuntu-latest
steps:
- name: Create directory structure
run: |
mkdir plugins
mkdir repository
- uses: actions/checkout@v4
with:
show-progress: false
path: ./repository
- name: Export git artifact
run: |
cd repository
git archive --format=tar HEAD | (cd ../plugins && tar xf -)
cd ..
rm -rf repository
- name: Upload to Steam depot
uses: actions/upload-artifact@v4
with:
name: hdpi
path: .
compression-level: 9

0 comments on commit c0bd9fa

Please sign in to comment.