Skip to content

Commit

Permalink
Merge pull request #4 from aplura/next
Browse files Browse the repository at this point in the history
Github Action Update
  • Loading branch information
alacercogitatus authored Jun 7, 2024
2 parents 1c3d17a + d826eaf commit aff8e0f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,13 @@ on:
jobs:
create-release:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ "3.10", "3.11" ]
steps:
- uses: actions/checkout@v4
- name: 'Get Version'
id: version
uses: 'cloudposse/github-action-jq@main'
with:
input: 'properties.json'
input: 'package.json'
# JQ query string
script: '.version'
# Output raw strings, not JSON texts
Expand All @@ -36,5 +32,7 @@ jobs:
ref: "refs/tags/${{ steps.set-tag.outputs.tag_name }}",
sha: context.sha
})
- name: Build Package
run: python -m build
- name: Build Package SDist
run: python -m build --sdist
- name: Build Package Wheel
run: python -m build --wheel
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "geese",
"version": "1.1.2",
"description": "This File is provided for 'active development' (yarn watch)",
"watch" : {
"execute": {
"patterns": [
Expand All @@ -10,7 +11,7 @@
}
},
"scripts": {
"execute": "./build.sh",
"execute": "yarn sdist",
"watch": "npm-watch",
"build": "yarn wheel && yarn sdist",
"wheel": "python3 -m build --wheel",
Expand Down

0 comments on commit aff8e0f

Please sign in to comment.