ci: update all non-major github actions #67
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.sh | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/test-install.yaml | |
- install.sh | |
permissions: | |
contents: read | |
jobs: | |
test-install-sh: | |
name: Test install.sh | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Install multi-gitter | |
env: | |
BINDIR: ${{ github.workspace }}/bin | |
FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }} | |
REF: ${{ github.head_ref }} | |
run: | | |
curl -s https://raw.githubusercontent.com/$FULL_NAME/$REF/install.sh | sh -s -- -d | |
echo "$BINDIR" >> $GITHUB_PATH | |
shell: sh | |
- name: Print version | |
run: multi-gitter version | |
shell: sh |