diff --git a/.github/workflows/do_release.yml b/.github/workflows/do_release.yml index e21260b66..4c9ed2c78 100644 --- a/.github/workflows/do_release.yml +++ b/.github/workflows/do_release.yml @@ -46,7 +46,7 @@ jobs: run: echo "::set-output name=rel_version::$(echo $(cat VERSION))" - name: Cut release - id: cut_release + id: cutrelease if: contains(steps.prlabels.outputs.labels, ' Release ') uses: release-drafter/release-drafter@master with: @@ -58,6 +58,15 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Print release info + run: | + echo ${{ steps.cutrelease.outputs.id }} + echo ${{ steps.cutrelease.outputs.name }} + echo ${{ steps.cutrelease.outputs.tag_name }} + echo ${{ steps.cutrelease.outputs.body }} + echo ${{ steps.cutrelease.outputs.html_url }} + echo ${{ steps.cutrelease.outputs.upload_url }} + build-deploy: name: Build and Deploy RAMSTK needs: cut-release diff --git a/.github/workflows/on-pr-open.yml b/.github/workflows/on-pr-open.yml index fb5ef581c..ae1805f3e 100644 --- a/.github/workflows/on-pr-open.yml +++ b/.github/workflows/on-pr-open.yml @@ -8,7 +8,10 @@ name: Open Pull Request Workflow on: pull_request: - types: [opened] + branches: + - master + types: + - opened jobs: good-pr-title: diff --git a/src/ramstk/analyses/milhdbk217f/models/inductor.py b/src/ramstk/analyses/milhdbk217f/models/inductor.py index 2b49657d4..bdf1fc13a 100644 --- a/src/ramstk/analyses/milhdbk217f/models/inductor.py +++ b/src/ramstk/analyses/milhdbk217f/models/inductor.py @@ -208,7 +208,7 @@ def calculate_part_stress(**attributes: Dict[str, Any]) -> Dict[str, Any]: _power_input = attributes["voltage_dc_operating"] * attributes["current_operating"] if attributes["subcategory_id"] == 2 and attributes["specification_id"] == 2: attributes["temperature_rise"] = get_temperature_rise_spec_sheet( - attributes["page_number"] + int(attributes["page_number"]) ) elif attributes["power_operating"] > 0.0 and attributes["area"] > 0.0: attributes["temperature_rise"] = calculate_temperature_rise_power_loss_surface(