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 8a2040d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 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
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
FROM archlinux:base-devel AS build
RUN pacman -Syu --noconfirm \
rust && \
cargo install apkeep

FROM archlinux:base
RUN pacman -Syu --noconfirm \
git \
Expand All @@ -9,4 +14,6 @@ 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" ]
COPY --from=build /root/.cargo/bin/* /usr/local/bin/
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 8a2040d

Please sign in to comment.