Fix mullvad-vpn for Ubuntu 24 #55
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 changed installers | |
on: | |
push: | |
jobs: | |
list_installers: | |
name: List changed installers | |
runs-on: ubuntu-latest | |
outputs: | |
installers: ${{steps.dirs.outputs.changed_installers}} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Get changed installer files | |
id: files | |
uses: tj-actions/changed-files@v44 | |
with: | |
files: programs/** | |
- name: Get changed installer names | |
id: dirs | |
env: | |
CHANGED_FILES: ${{steps.files.outputs.all_changed_files}} | |
run: | | |
{ | |
printf "changed_installers=" | |
printf "%s" "$CHANGED_FILES" \ | |
| cut -d/ -f2 | sort -u | jq -R | jq -s -c -M | |
} >> "$GITHUB_OUTPUT" | |
test_installers: | |
name: Test installers | |
needs: list_installers | |
if: needs.list_installers.outputs.installers != '[]' | |
uses: ./.github/workflows/test_installers.yml | |
with: | |
installers: ${{needs.list_installers.outputs.installers}} |