Skip to content

Switch to manjaro from ubuntu #104

Switch to manjaro from ubuntu

Switch to manjaro from ubuntu #104

Workflow file for this run

name: "test-install"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
install:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup ssh
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Install
run: |
docker run --rm \
-v $SSH_AUTH_SOCK:/ssh-agent \
-v ~/.ssh/known_hosts:/root/.ssh/known_hosts \
-e SSH_AUTH_SOCK=/ssh-agent \
-v ${{ github.workspace }}:/workspace \
manjarolinux/base:latest \
/bin/bash -c "
pacman -Sy --noconfirm sudo openssh git && \
mkdir -p /root/.ssh && \
chmod 700 /root/.ssh && \
ssh-keyscan github.com >> /root/.ssh/known_hosts && \
git config --global --add safe.directory /workspace && \
cd /workspace && \
./install.sh
"