Skip to content

Commit

Permalink
Merge pull request #158 from bedroge/fix_package_workflow
Browse files Browse the repository at this point in the history
Fix workflow for building client packages
  • Loading branch information
ocaisa authored Jul 7, 2023
2 parents 3101cd6 + d84aa12 commit c0c88f1
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/build-test-release-client-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,10 @@ jobs:
[[ $REF_NAME == refs/tags/v* ]] && VERSION=${REF_NAME/refs\/tags\/v/}
echo ::set-output name=version::${VERSION}
# The next step uses a custom Ansible inventory, and due to that it cannot find
# the group_vars folder inside the inventory folder. This symlink fixes that.
- name: Make symlink to group_vars
run: ln -s inventory/group_vars

- name: Prepare package source
uses: roles-ansible/check-ansible-debian-stable-action@bc4b37806481d66df213c1a8d5c59495ed7801f0
with:
targets: "./prepare-client-packages.yml"
hosts: "localhost"
- name: Prepare package source by running the corresponding playbook locally
run: |
echo "localhost ansible_connection=local" > inventory/hosts
ansible-playbook ./prepare-client-packages.yml
# We probably should loop over the set {rpm,deb,osxpkg} to create packages, but
# it will make debugging more annoying.
Expand Down

0 comments on commit c0c88f1

Please sign in to comment.