mirror of
https://github.com/Guake/guake.git
synced 2025-10-26 11:27:13 +00:00
fix release pipeline
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
This commit is contained in:
parent
ffef36b42b
commit
002ba9f95c
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -61,9 +61,26 @@ jobs:
|
||||
# prepare for deployment
|
||||
make generate-paths
|
||||
|
||||
- name: Stores dists (Python 3.8)
|
||||
uses: actions/upload-artifact@v2
|
||||
if: "${{ matrix.python-version }} == 3.8"
|
||||
with:
|
||||
name: dists
|
||||
path: dist/*
|
||||
|
||||
release-test:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build
|
||||
if: github.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- name: Retrieve dists
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: dists
|
||||
- name: Publish distribution 📦 to Test PyPI
|
||||
uses: pypa/gh-action-pypi-publish@master
|
||||
if: github.ref == 'refs/heads/master'
|
||||
with:
|
||||
verify_metadata: false
|
||||
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
||||
repository_url: https://test.pypi.org/legacy/
|
||||
|
||||
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -13,9 +13,6 @@ jobs:
|
||||
release:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.6, 3.7, 3.8, 3.9]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@ -24,10 +21,10 @@ jobs:
|
||||
id: tag
|
||||
run: echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
python-version: 3.8
|
||||
|
||||
- name: Checkout the current branch
|
||||
run: |
|
||||
@ -67,6 +64,7 @@ jobs:
|
||||
- name: Publish distribution 📦 to Test PyPI
|
||||
uses: pypa/gh-action-pypi-publish@master
|
||||
with:
|
||||
verify_metadata: false
|
||||
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
||||
repository_url: https://test.pypi.org/legacy/
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user