Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-39884: Fix releases for 1.0 branch (1.0.7 release) #51

Merged
merged 3 commits into from
Jul 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 11 additions & 27 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0 # full history for setuptools_scm

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
name: Use Node.js
with:
node-version: 14
node-version-file: ".nvmrc"

- name: NPM install
run: |
Expand Down Expand Up @@ -65,41 +65,25 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0 # full history for setuptools_scm

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"

- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
name: Use Node.js
with:
node-version: 14
node-version-file: ".nvmrc"

- name: NPM install
run: |
npm install -g gulp-cli
npm install

- name: Python install
run: |
python -m pip install --upgrade pip
pip install --upgrade setuptools wheel

- name: Build assets
run: gulp assets --env=deploy

- name: Build
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_SQRE_ADMIN }}
run: python setup.py sdist bdist_wheel

- name: Upload
uses: pypa/gh-action-pypi-publish@release/v1
- name: Build and publish
uses: lsst-sqre/build-and-publish-to-pypi@v1
with:
user: __token__
password: ${{ secrets.PYPI_SQRE_ADMIN }}
pypi-token: ${{ secrets.PYPI_SQRE_ADMIN }}
python-version: "3.11"
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v14.5.0
Loading