-
-
Notifications
You must be signed in to change notification settings - Fork 38
37 lines (34 loc) · 1.04 KB
/
release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
name: Build & release
"on":
# Target are chosen so that all commits get a chance to have their build tested.
push:
branches:
- main
pull_request:
jobs:
release:
uses: kdeldycke/workflows/.github/workflows/[email protected]
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
test-binaries:
needs: release
strategy:
matrix: ${{ fromJSON(needs.release.outputs.nuitka_matrix) }}
runs-on: ${{ matrix.os }}
steps:
- name: Download artifacts
uses: actions/[email protected]
id: artifacts
with:
name: ${{ matrix.bin_name }}
- name: Set binary permissions
if: runner.os != 'Windows'
run: |
chmod +x ${{ steps.artifacts.outputs.download-path }}/${{ matrix.bin_name }}
- name: Run mdedup --version
run: |
${{ steps.artifacts.outputs.download-path }}/${{ matrix.bin_name }} --version
- name: Run mdedup --help
run: |
${{ steps.artifacts.outputs.download-path }}/${{ matrix.bin_name }} --help