Switch to manjaro from ubuntu #95
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "test-install" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
install: | |
container: | |
image: archlinux:latest | |
options: --user=root --entrypoint=/bin/bash -e SSH_AUTH_SOCK=/ssh-agent | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- ${{ github.workspace }}:/workspace | |
- ~/.ssh:/root/.ssh | |
- ${SSH_AUTH_SOCK}:/ssh-agent | |
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 | |
run: | | |
pacman -Sy --noconfirm sudo openssh git | |
git config --global --add safe.directory /workspace | |
cd /workspace | |
./install.sh" |