diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 4f79a31..5e3a433 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -32,13 +32,13 @@ jobs: # 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 + # - 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 diff --git a/Dockerfile b/Dockerfile index 55a28b6..e89e251 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,5 @@ RUN python -m venv /data/.venv && \ pip install --upgrade git+https://github.com/P1sec/hermes-dec ENV PATH=/data/.venv/bin:$PATH -CMD [ "ls -la && cd $GITHUB_WORKSPACE && ls -la" ] \ No newline at end of file +COPY setup.sh /data/setup.sh +CMD [ "/data/setup.sh" ] \ No newline at end of file diff --git a/setup.sh b/setup.sh new file mode 100755 index 0000000..1e231d1 --- /dev/null +++ b/setup.sh @@ -0,0 +1,2 @@ +cd $GITHUB_WORKSPACE +./script.sh \ No newline at end of file