Skip to content

Commit

Permalink
Merge pull request #51 from Airthings/update-actions
Browse files Browse the repository at this point in the history
Update actions
  • Loading branch information
LaStrada authored Jan 1, 2025
2 parents 69e5030 + e790493 commit d881508
Show file tree
Hide file tree
Showing 4 changed files with 716 additions and 522 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
tag:
description: New version tag
required: true
prerelease:
description: Is this a pre-release?
required: false
default: false
type: boolean

jobs:
final-linting:
Expand Down Expand Up @@ -71,9 +76,10 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1

- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: dist/${{ env.name }}/*
tag_name: ${{ github.event.inputs.tag }}
generate_release_notes: true
prerelease: ${{ github.event.inputs.prerelease }}

4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test:
strategy:
matrix:
python-version: [3.11, 3.12]
python-version: [3.12, 3.13]
name: Run tests for ${{ matrix.python-version }}
runs-on: ubuntu-latest
steps:
Expand All @@ -32,7 +32,7 @@ jobs:
lint:
strategy:
matrix:
python-version: [3.12] # Linting is only required for the latest Python version
python-version: [3.13] # Linting is only required for the latest Python version
name: Lint code for ${{ matrix.python-version }}
runs-on: ubuntu-latest
steps:
Expand Down
Loading

0 comments on commit d881508

Please sign in to comment.