Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GFW Creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paleoclimate Dynamics
Projects
PalMod
GFW Creator
Commits
c8cdcabc
Commit
c8cdcabc
authored
4 years ago
by
Paul Gierz
Browse files
Options
Downloads
Patches
Plain Diff
ci: reorganizes ci in a way that makes sense to me
parent
8183ae13
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/create-release.yml
+22
-1
22 additions, 1 deletion
.github/workflows/create-release.yml
.github/workflows/python-publish.yml
+0
-31
0 additions, 31 deletions
.github/workflows/python-publish.yml
.github/workflows/run-tests.yml
+0
-0
0 additions, 0 deletions
.github/workflows/run-tests.yml
with
22 additions
and
32 deletions
.github/workflows/create-release.yml
+
22
−
1
View file @
c8cdcabc
...
@@ -7,7 +7,7 @@ on:
...
@@ -7,7 +7,7 @@ on:
name
:
Create Release
name
:
Create Release
jobs
:
jobs
:
build
:
release
:
name
:
Create Release
name
:
Create Release
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
...
@@ -23,3 +23,24 @@ jobs:
...
@@ -23,3 +23,24 @@ jobs:
release_name
:
Release ${{ github.ref }}
release_name
:
Release ${{ github.ref }}
draft
:
false
draft
:
false
prerelease
:
false
prerelease
:
false
publish
:
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
:
${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD
:
${{ secrets.PYPI_PASSWORD }}
run
:
|
python setup.py sdist bdist_wheel
twine upload dist/*
This diff is collapsed.
Click to expand it.
.github/workflows/python-publish.yml
deleted
100644 → 0
+
0
−
31
View file @
8183ae13
# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name
:
Upload Python Package
on
:
release
:
types
:
[
created
]
jobs
:
deploy
:
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
:
${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD
:
${{ secrets.PYPI_PASSWORD }}
run
:
|
python setup.py sdist bdist_wheel
twine upload dist/*
This diff is collapsed.
Click to expand it.
.github/workflows/
python-package
.yml
→
.github/workflows/
run-tests
.yml
+
0
−
0
View file @
c8cdcabc
File moved
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