Skip to content

Commit

Permalink
add runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Lifeismana committed Jul 9, 2024
1 parent fea095f commit 6a6d91a
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 1 deletion.
48 changes: 48 additions & 0 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Execute

on:
workflow_dispatch:
inputs:
app_id:
description: 'app id to use'
required: false
default: ''
version:
description: 'Version to use with the app id'
required: false
default: ''
repository_dispatch:

jobs:

execute:
runs-on: ubuntu-latest
permissions:
contents: write
environment: Execution
concurrency:
group: ${{ github.workflow }}
steps:
# Keeping this here in case we need more than 45GB of space in the future
# - name: Maximize build space
# uses: easimon/maximize-build-space@master
# with:
# swap-size-mb: 1024
# remove-dotnet: 'true'
# remove-android: 'true'
# remove-haskell: 'true'
# remove-codeql: 'true'
- name: More space
shell: bash
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf /opt/hostedtoolcache/CodeQL
- uses: actions/checkout@v4
with:
ref: main
- uses: docker://ghcr.io/lifeismana/steam-apk-watcher:latest
env:
APP_TO_PROCESS: ${{ inputs.app_id }}
APP_VERSION: ${{ inputs.version }}
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ RUN python -m venv /data/.venv && \
. /data/.venv/bin/activate && \
pip install --upgrade git+https://github.com/P1sec/hermes-dec

ENV PATH=/data/.venv/bin:$PATH
ENV PATH=/data/.venv/bin:$PATH
CMD [ "cd $GITHUB_WORKSPACE && ./scripts.sh" ]

0 comments on commit 6a6d91a

Please sign in to comment.