Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
53 lines (46 loc) · 1.28 KB

File metadata and controls

53 lines (46 loc) · 1.28 KB
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
name: Build packages on release
on:
push:
tags:
- "v*"
jobs:
build:
name: Build packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: >-
python -m
pip install
build
--user
- name: Build
run: >-
python -m build
- run: echo "::set-output name=whl_file::$(basename $(ls dist/*.whl))"
id: whl_file
- name: release
uses: actions/create-release@v1
id: create_release
with:
draft: false
prerelease: false
release_name: "Release ${{ github.ref }}"
tag_name: ${{ github.ref }}
body: ""
#body_path: CHANGELOG.md
env:
GITHUB_TOKEN: ${{ github.token }}
- name: upload linux artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "dist/${{ steps.whl_file.outputs.whl_file }}"
asset_name: ${{ steps.whl_file.outputs.whl_file }}
asset_content_type: application/zip
Morty Proxy This is a proxified and sanitized view of the page, visit original site.