Upload completion files in releases
@@ -63,3 +63,38 @@ jobs:
file: target/release/${{ matrix.daemon_name }}
asset_name: ${{ matrix.daemon_release_name }}
tag: ${{ github.ref }}
+
+
+ # Upload completion files
+ - uses: svenstaro/upload-release-action@v1-release
+ with:
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
+ file: utils/completions/_pueue.ps1
+ asset_name: shell_completion_pueue.ps1
+ tag: ${{ github.ref }}
+ if: matrix.os == 'ubuntu-latest'
+
+ - uses: svenstaro/upload-release-action@v1-release
+ with:
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
+ file: utils/completions/pueue.bash
+ asset_name: shell_completion_pueue.bash
+ tag: ${{ github.ref }}
+ if: matrix.os == 'ubuntu-latest'
+
+
+ - uses: svenstaro/upload-release-action@v1-release
+ with:
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
+ file: utils/completions/pueue.elv
+ asset_name: shell_completion_pueue.elv
+ tag: ${{ github.ref }}
+ if: matrix.os == 'ubuntu-latest'
+
+ - uses: svenstaro/upload-release-action@v1-release
+ with:
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
+ file: utils/completions/pueue.fish
+ asset_name: shell_completion_pueue.fish
+ tag: ${{ github.ref }}
+ if: matrix.os == 'ubuntu-latest'
