Skip to content

fix(ci): use branch name for push event ref in plugin-test #180

fix(ci): use branch name for push event ref in plugin-test

fix(ci): use branch name for push event ref in plugin-test #180

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
jobs:
plugin_test:
name: asdf plugin test
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: asdf_plugin_test
uses: asdf-vm/actions/plugin-test@v4
with:
command: redis-cli --version
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref_name }}