Skip to content

Commit

Permalink
rework release after hatch implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Jan 31, 2024
1 parent 3bf2247 commit 1930df5
Show file tree
Hide file tree
Showing 4 changed files with 129 additions and 509 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ on:
merge_group:
types: [checks_requested]
workflow_dispatch:
workflow_call:
inputs:
changelog_path:
description: "Path to changelog file"
required: true
type: string

permissions: read-all

Expand Down Expand Up @@ -53,3 +59,19 @@ jobs:
- name: "Check build"
run: hatch run build:check-all

- name: "Check version"
id: version
run: |
echo "version=$(hatch version)" >> $GITHUB_OUTPUT
# this step is only needed for the release process
- name: "Upload Build Artifact"
if: ${{ github.event_name == 'workflow_call' }}
uses: actions/upload-artifact@v3
with:
name: ${{ steps.version.outputs.version_number }}
path: |
${{ inputs.changelog_path }}
./dist/
retention-days: 3
271 changes: 0 additions & 271 deletions .github/workflows/build_hatch.yml

This file was deleted.

Loading

0 comments on commit 1930df5

Please sign in to comment.