Skip to content

Commit c0c88f1

Browse files
authored
Merge pull request #158 from bedroge/fix_package_workflow
Fix workflow for building client packages
2 parents 3101cd6 + d84aa12 commit c0c88f1

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/build-test-release-client-packages.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,10 @@ jobs:
3131
[[ $REF_NAME == refs/tags/v* ]] && VERSION=${REF_NAME/refs\/tags\/v/}
3232
echo ::set-output name=version::${VERSION}
3333
34-
# The next step uses a custom Ansible inventory, and due to that it cannot find
35-
# the group_vars folder inside the inventory folder. This symlink fixes that.
36-
- name: Make symlink to group_vars
37-
run: ln -s inventory/group_vars
38-
39-
- name: Prepare package source
40-
uses: roles-ansible/check-ansible-debian-stable-action@bc4b37806481d66df213c1a8d5c59495ed7801f0
41-
with:
42-
targets: "./prepare-client-packages.yml"
43-
hosts: "localhost"
34+
- name: Prepare package source by running the corresponding playbook locally
35+
run: |
36+
echo "localhost ansible_connection=local" > inventory/hosts
37+
ansible-playbook ./prepare-client-packages.yml
4438
4539
# We probably should loop over the set {rpm,deb,osxpkg} to create packages, but
4640
# it will make debugging more annoying.

0 commit comments

Comments
 (0)