Skip to content

Commit 16ce977

Browse files
committed
temporary commit
1 parent 7bc035f commit 16ce977

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/temp.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: temp
2+
3+
on:
4+
workflow_dispatch:
5+
branches:
6+
- develop
7+
8+
jobs:
9+
github-release:
10+
runs-on: ubuntu-latest
11+
12+
permissions:
13+
contents: write # IMPORTANT: mandatory for making GitHub Releases
14+
id-token: write # IMPORTANT: mandatory for sigstore
15+
16+
steps:
17+
- name: Download distribution
18+
uses: actions/download-artifact@v7
19+
with:
20+
pattern: python-*-package-for-*
21+
path: dist/
22+
merge-multiple: true
23+
24+
- name: Sign distribution with Sigstore
25+
uses: sigstore/[email protected]
26+
with:
27+
inputs: ./dist/*.whl
28+
29+
- name: Upload artifact signatures to GitHub Release
30+
env:
31+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
# Upload to GitHub Release using the `gh` CLI.
33+
# `dist/` contains the built packages, and the
34+
# sigstore-produced signatures and certificates.
35+
run: |
36+
gh release upload '${{ github.ref_name }}' dist/** --repo '${{ github.repository }}' --clobber

0 commit comments

Comments
 (0)