Skip to content

Commit

Permalink
fix: check the correct release-please outputs when releasing (#72)
Browse files Browse the repository at this point in the history
* fix: check the correct release-please outputs when releasing

Prepend the path onto the release-please action outputs. When the path
is specified in the release-please action, it adds it to all the outputs
so projects at different paths can be differentiated.
  • Loading branch information
nand4011 authored Aug 25, 2023
1 parent 83743fc commit 5633cac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/on-push-to-main-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:

- name: Publish test
run: |
echo "Published version: ${{ steps.release.outputs.tag_name }}"
if: ${{ steps.release.outputs.release_created }}
echo "Published version: ${{ steps.release.outputs.src--tag_name }}"
if: ${{ steps.release.outputs.src--release_created }}

# - name: Publish to hex
# if: ${{ steps.release.outputs.release_created }}
# env:
# HEX_API_KEY: ${{ secrets.ELIXIR_HEX_PACKAGE_PUBLISH_API_KEY }}
# run: |
# pushd src
# mix hex.publish --yes
# popd
# if: ${{ steps.release.outputs.src--release_created }}
6 changes: 3 additions & 3 deletions examples/doc_examples.exs
Original file line number Diff line number Diff line change
Expand Up @@ -414,13 +414,13 @@ Examples.DocExamples.example_API_CredentialProviderFromString()

client = Examples.DocExamples.example_API_InstantiateCacheClient()

Examples.DocExamples.example_API_ErrorHandlingHitMiss(client)
Examples.DocExamples.example_API_ErrorHandlingSuccess(client)

Examples.DocExamples.example_API_CreateCache(client)
Examples.DocExamples.example_API_DeleteCache(client)
Examples.DocExamples.example_API_CreateCache(client)

Examples.DocExamples.example_API_ErrorHandlingHitMiss(client)
Examples.DocExamples.example_API_ErrorHandlingSuccess(client)

Examples.DocExamples.example_API_ListCaches(client)
Examples.DocExamples.example_API_Set(client)
Examples.DocExamples.example_API_Get(client)
Expand Down

0 comments on commit 5633cac

Please sign in to comment.