mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
Merge pull request #92 from dopplershift/update-release-action
Update release workflow
This commit is contained in:
commit
8cafa569ea
2 changed files with 21 additions and 4 deletions
18
.github/dependabot.yml
vendored
Normal file
18
.github/dependabot.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
version: 2
|
||||||
|
|
||||||
|
updates:
|
||||||
|
# Update GitHub Actions versions in workflows
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
# Workflow files stored in the
|
||||||
|
# default location of `.github/workflows`
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
||||||
|
allow:
|
||||||
|
- dependency-type: all
|
||||||
|
open-pull-requests-limit: 10
|
||||||
|
pull-request-branch-name:
|
||||||
|
separator: "-"
|
||||||
|
commit-message:
|
||||||
|
prefix: "CI: "
|
||||||
|
include: "scope"
|
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
@ -38,6 +38,8 @@ jobs:
|
||||||
environment:
|
environment:
|
||||||
name: PyPI
|
name: PyPI
|
||||||
url: https://pypi.org/project/python-awips/
|
url: https://pypi.org/project/python-awips/
|
||||||
|
permissions:
|
||||||
|
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download packages
|
- name: Download packages
|
||||||
|
@ -47,7 +49,4 @@ jobs:
|
||||||
name: artifact
|
name: artifact
|
||||||
|
|
||||||
- name: Publish Package
|
- name: Publish Package
|
||||||
uses: pypa/gh-action-pypi-publish@v1.4.2
|
uses: pypa/gh-action-pypi-publish@v1.12.4
|
||||||
with:
|
|
||||||
user: __token__
|
|
||||||
password: ${{ secrets.PYPI_TOKEN }}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue