mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-21 03:30:01 +00:00
Compare commits
1 Commits
98db17f4d8
...
7a8215d358
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7a8215d358 |
2
.github/actions/runner-fallback/action.yml
vendored
2
.github/actions/runner-fallback/action.yml
vendored
@ -44,7 +44,7 @@ runs:
|
|||||||
"https://api.github.com/repos/$repo/actions/runners?per_page=100")
|
"https://api.github.com/repos/$repo/actions/runners?per_page=100")
|
||||||
|
|
||||||
# Debug: Print runners content
|
# Debug: Print runners content
|
||||||
# echo "Runners response: $runners"
|
echo "Runners response: $runners"
|
||||||
|
|
||||||
# Check if runners is null or empty
|
# Check if runners is null or empty
|
||||||
if [ -z "$runners" ] || [ "$runners" = "null" ]; then
|
if [ -z "$runners" ] || [ "$runners" = "null" ]; then
|
||||||
|
13
.github/runners/runner-x64/Dockerfile
vendored
13
.github/runners/runner-x64/Dockerfile
vendored
@ -7,20 +7,11 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
|
|
||||||
RUN apt update -y && apt upgrade -y && useradd -m docker
|
RUN apt update -y && apt upgrade -y && useradd -m docker
|
||||||
RUN apt install -y --no-install-recommends \
|
RUN apt install -y --no-install-recommends \
|
||||||
curl jq git \
|
curl jq build-essential libssl-dev libffi-dev python3 python3-venv python3-dev python3-pip \
|
||||||
# dev dependencies
|
|
||||||
build-essential libssl-dev libffi-dev python3 python3-venv python3-dev python3-pip \
|
|
||||||
# dot net core dependencies
|
# dot net core dependencies
|
||||||
libicu74 libssl3 libkrb5-3 zlib1g libcurl4 \
|
libicu74 libssl3 libkrb5-3 zlib1g libcurl4
|
||||||
# Rust and Cargo dependencies
|
|
||||||
gcc cmake
|
|
||||||
|
|
||||||
|
|
||||||
# Install Rust and Cargo
|
|
||||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
||||||
ENV PATH="/home/docker/.cargo/bin:${PATH}"
|
|
||||||
ENV HOME="/home/docker"
|
|
||||||
|
|
||||||
RUN cd /home/docker && mkdir actions-runner && cd actions-runner \
|
RUN cd /home/docker && mkdir actions-runner && cd actions-runner \
|
||||||
&& curl -O -L https://github.com/actions/runner/releases/download/v${RUNNER_VERSION}/actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz \
|
&& curl -O -L https://github.com/actions/runner/releases/download/v${RUNNER_VERSION}/actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz \
|
||||||
&& tar xzf ./actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz
|
&& tar xzf ./actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user