Skip to content

Commit

Permalink
maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
Lifeismana committed Jul 9, 2024
1 parent a8e125e commit 6956176
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
FROM archlinux:base
FROM archlinux:base-devel
RUN pacman -Syu --noconfirm \
git \
python \
python-pip \
jadx
jadx \
rust && \
cargo install apkeep
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
CMD [ "ls -la && cd $GITHUB_WORKSPACE && ls -la" ]
ENV PATH=/root/.cargo/bin:/data/.venv/bin:$PATH
COPY setup.sh /data/setup.sh
CMD [ "/data/setup.sh" ]
2 changes: 1 addition & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ProcessApp()
mkdir -p $1
if [ -n "$2" ]; then
echo "Downloading $1 Version $2"
apkeep -a $1@$2 -d apk-pure $1 $2
apkeep -a $1@$2 -d apk-pure $1
Commit_message="$1 Version $2"
else
echo "Downloading $1"
Expand Down
2 changes: 2 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
cd $GITHUB_WORKSPACE && ./script.sh

0 comments on commit 6956176

Please sign in to comment.