Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Semantic Router
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
aurelio-labs
Semantic Router
Commits
df195de1
Commit
df195de1
authored
1 year ago
by
Simonas
Browse files
Options
Downloads
Patches
Plain Diff
github action for release
parent
79834adb
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/release.yml
+42
-0
42 additions, 0 deletions
.github/workflows/release.yml
.gitignore
+2
-1
2 additions, 1 deletion
.gitignore
.vscode/settings.json
+0
-5
0 additions, 5 deletions
.vscode/settings.json
with
44 additions
and
6 deletions
.github/workflows/release.yml
0 → 100644
+
42
−
0
View file @
df195de1
name
:
Release
on
:
push
:
tags
:
-
'
*'
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up Python
uses
:
actions/setup-python@v2
with
:
python-version
:
'
3.x'
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
pip install setuptools wheel twine
-
name
:
Build and publish
env
:
TWINE_USERNAME
:
__token__
TWINE_PASSWORD
:
${{ secrets.PYPI_API_TOKEN }}
run
:
|
python setup.py sdist bdist_wheel
twine upload dist/*
release
:
needs
:
build
runs-on
:
ubuntu-latest
steps
:
-
name
:
Create Release
id
:
create_release
uses
:
actions/create-release@v1
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
with
:
tag_name
:
${{ github.ref }}
release_name
:
Release ${{ github.ref }}
draft
:
false
prerelease
:
false
This diff is collapsed.
Click to expand it.
.gitignore
+
2
−
1
View file @
df195de1
...
...
@@ -4,10 +4,11 @@ __pycache__
.DS_Store
venv/
/.vscode
.vscode
**/__pycache__
**/*.py[cod]
# local env files
.env*.local
.env
mac.env
\ No newline at end of file
mac.env
This diff is collapsed.
Click to expand it.
.vscode/settings.json
deleted
100644 → 0
+
0
−
5
View file @
79834adb
{
"cSpell.words"
:
[
"linalg"
]
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment