Fix multiple verbs getting latest github release #606
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
on: [push, pull_request] | |
name: install | |
jobs: | |
macos: | |
name: make install (with prefix) | |
runs-on: macos-latest | |
steps: | |
- name: checkout project | |
uses: actions/checkout@v3 | |
# OSX doesn't allow writing to /usr/bin, so skip the non-PREFIX check | |
- name: run make install (with PREFIX) | |
run: time make install PREFIX="$(mktemp -d)" | |
linux: | |
name: make install (with prefix) | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout project | |
uses: actions/checkout@v3 | |
- name: run make install (with PREFIX) | |
run: time make install PREFIX="$(mktemp -d)" | |
- name: run make install (without PREFIX) | |
run: time sudo make install |