FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
unittest2pytest/.github/workflows/deploy.yml at main · pytest-dev/unittest2pytest · GitHub
pytest-dev
unittest2pytest
Repository navigation
Code
Issues
16
(16)
Pull requests
6
(6)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
unittest2pytest
/
.github
/
workflows
/
deploy.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
55 lines (44 loc) · 1.43 KB
Breadcrumbs
unittest2pytest
/
.github
/
workflows
/
deploy.yml
Copy path
File metadata and controls
55 lines (44 loc) · 1.43 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name
:
deploy
on
:
workflow_dispatch
:
inputs
:
version
:
description
:
'
Release version
'
required
:
true
default
:
'
1.2.3
'
permissions
:
{}
jobs
:
package
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v6
with
:
persist-credentials
:
false
-
name
:
Build and Check Package
uses
:
hynek/build-and-inspect-python-package@2abe76da66d0a6a4a227101f9348ee855797cfa5
#
v3.0.1
deploy
:
needs
:
package
runs-on
:
ubuntu-latest
permissions
:
id-token
:
write
#
For PyPI trusted publishers.
contents
:
write
#
For tag.
steps
:
-
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v6
with
:
persist-credentials
:
false
-
name
:
Download Package
uses
:
actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
#
v8
with
:
name
:
Packages
path
:
dist
-
name
:
Publish package to PyPI
uses
:
pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33
#
v1.14.2
with
:
attestations
:
true
-
name
:
GitHub Release
env
:
GH_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
GITHUB_EVENT_INPUTS_VERSION
:
${{ github.event.inputs.version }}
run
:
|
gh release create v${GITHUB_EVENT_INPUTS_VERSION} --target=${GITHUB_REF_NAME} --title v${GITHUB_EVENT_INPUTS_VERSION}
gh pr merge ${GITHUB_REF_NAME} --merge
Back
|
FazBrowse Home
|
New Git URL