Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvand committed Jul 3, 2023
1 parent b84777b commit b0b5638
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/reusable-build-publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,9 @@ jobs:
zip -r ../${{ env.project-name }}-unit-tests.zip ./*
cd ..
- name: debug
run: |
echo "env.tag-name: ${{ env.tag-name }}"
echo "github.ref: ${{ github.ref }}"
- name: Publish production release
uses: softprops/action-gh-release@v1
if: startsWith(env.tag-name, 'v')
if: inputs.is-production-release == true
with:
name: '${{ env.project-name }} ${{ env.tag-name }}'
prerelease: true
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ jobs:
needs: calculate-version
outputs:
tag-name: ${{ steps.tag-commit.outputs.tagName }}
tag-name-test: ${{ steps.tag-commit.outputs.result }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -84,12 +83,6 @@ jobs:
}
console.log(`tagName: '${tagName}'`);
core.setOutput("tagName", tagName);
return tagName;
- name: debug
run: |
echo "outputs.tagName: ${{ steps.tag-commit.outputs.tagName }}"
echo "outputs.result: ${{steps.tag-commit.outputs.result}}"
build:
runs-on: windows-latest
Expand Down

0 comments on commit b0b5638

Please sign in to comment.