Skip to content

Commit

Permalink
adapt to new release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwoer committed Sep 6, 2024
1 parent 4272ae6 commit fb653fc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
# Create a draft release and build and upload all installers to it.
name: Create Draft Release
name: Create Release

on:
workflow_dispatch:
inputs:
commit_to_release:
description: 'Enter commit hash to release (example: ef4037cb571f99cb4919b520fde7174972aae473)'
commitish_to_release:
type: string
required: true
tag_to_release:
description: 'Enter tag to release (example: v1.5.5)'
type: string
required: true
description: 'Enter commit hash or branch to release (default: main).'
default: "main"

jobs:
create-release:
uses: MannLabs/alphashared/.github/workflows/create_release.yml@v1
secrets: inherit
permissions:
contents: write
uses: MannLabs/alphashared/.github/workflows/create_release.yml@v1
with:
package_name: alphadia
commit_to_release: ${{ inputs.commit_to_release }}
tag_to_release: ${{ inputs.tag_to_release }}
commitish_to_release: ${{ inputs.commitish_to_release }}
build_nodejs_ui: true
test_app: true
test_app: false
2 changes: 1 addition & 1 deletion .github/workflows/publish_on_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: MannLabs/alphashared/.github/workflows/publish_on_pypi.yml@v1
with:
# see the documentation of the workflow for more information on the parameters
package_name: alphdia
package_name: alphadia
tag_to_release: ${{ inputs.tag_to_release }}
secrets:
test_pypi_api_token: ${{ secrets.TEST_PYPI_API_TOKEN }}
Expand Down

0 comments on commit fb653fc

Please sign in to comment.