mirror of
https://github.com/taiki-e/install-action.git
synced 2026-05-10 06:30:32 +00:00
Tweak CI config
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -84,13 +84,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Install requirements (ubuntu/debian)
|
- name: Install requirements (ubuntu/debian)
|
||||||
run: |
|
run: |
|
||||||
set -ex
|
set -euxo pipefail
|
||||||
apt-get -o Acquire::Retries=10 -qq update
|
apt-get -o Acquire::Retries=10 -qq update
|
||||||
apt-get -o Acquire::Retries=10 -qq -o Dpkg::Use-Pty=0 install -y --no-install-recommends cargo
|
apt-get -o Acquire::Retries=10 -qq -o Dpkg::Use-Pty=0 install -y --no-install-recommends cargo
|
||||||
if: startsWith(matrix.container, 'ubuntu') || startsWith(matrix.container, 'debian')
|
if: startsWith(matrix.container, 'ubuntu') || startsWith(matrix.container, 'debian')
|
||||||
- name: Install requirements (fedora/rockylinux)
|
- name: Install requirements (fedora/rockylinux)
|
||||||
run: |
|
run: |
|
||||||
set -ex
|
set -euxo pipefail
|
||||||
dnf=dnf
|
dnf=dnf
|
||||||
if ! type -P dnf &>/dev/null; then
|
if ! type -P dnf &>/dev/null; then
|
||||||
dnf=microdnf
|
dnf=microdnf
|
||||||
@@ -100,13 +100,13 @@ jobs:
|
|||||||
if: startsWith(matrix.container, 'fedora') || startsWith(matrix.container, 'rockylinux')
|
if: startsWith(matrix.container, 'fedora') || startsWith(matrix.container, 'rockylinux')
|
||||||
- name: Install requirements (centos)
|
- name: Install requirements (centos)
|
||||||
run: |
|
run: |
|
||||||
set -ex
|
set -euxo pipefail
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable
|
||||||
echo "$HOME/.cargo/bin" >>"${GITHUB_PATH}"
|
echo "$HOME/.cargo/bin" >>"${GITHUB_PATH}"
|
||||||
if: startsWith(matrix.container, 'centos')
|
if: startsWith(matrix.container, 'centos')
|
||||||
- name: Install requirements (alpine)
|
- name: Install requirements (alpine)
|
||||||
run: |
|
run: |
|
||||||
set -ex
|
set -eux
|
||||||
apk add bash cargo
|
apk add bash cargo
|
||||||
shell: sh
|
shell: sh
|
||||||
if: startsWith(matrix.container, 'alpine')
|
if: startsWith(matrix.container, 'alpine')
|
||||||
|
|||||||
Reference in New Issue
Block a user