-
Notifications
You must be signed in to change notification settings - Fork 147
32 lines (30 loc) · 956 Bytes
/
release.yml
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
name: Release new Drakvuf Sandbox version
on:
release:
types: [published]
jobs:
release_artifacts:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Download artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v6
with:
workflow: build.yml
workflow_conclusion: success
- uses: nanoufo/action-upload-artifacts-and-release-assets@v2
with:
path: |
drakvuf-sandbox-whl/drakvuf_sandbox-*.whl
drakvuf-bundle-debs-debian-bullseye/drakvuf-bundle*.deb
upload-release-files: true
release-upload-url: ${{ github.event.release.upload_url }}
- name: Publish to PyPi
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_password }}
packages-dir: drakvuf-sandbox-whl/