Skip to content

Switch to manjaro from ubuntu #93

Switch to manjaro from ubuntu

Switch to manjaro from ubuntu #93

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: Set up ssh
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
- name: install
uses: docker://archlinux:latest
with:
entrypoint: /bin/bash
args: -c "pacman -Sy --noconfirm sudo openssh git && mkdir -p ~/.ssh && echo '$SSH_PRIVATE_KEY' > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa && ssh-keyscan github.com >> ~/.ssh/known_hosts && eval $(ssh-agent) && ssh-add ~/.ssh/id_rsa && git config --global --add safe.directory $GITHUB_WORKSPACE && cd $GITHUB_WORKSPACE && ./install.sh"