Skip to content

Commit

Permalink
Merge pull request #428 from mountaindude/353-2
Browse files Browse the repository at this point in the history
Fix release-please config after change from ./src to / coverage
  • Loading branch information
mountaindude authored Mar 8, 2024
2 parents 9d401db + 50c80cd commit 9017dd3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 407 deletions.
37 changes: 20 additions & 17 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ jobs:
runs-on: ubuntu-latest
outputs:
releases_created: ${{ steps.release.outputs.releases_created }}
release_tag_name: ${{ steps.release.outputs['src--tag_name'] }}
release_upload_url: ${{ steps.release.outputs['src--upload_url'] }}
release_tag_name: ${{ steps.release.outputs['tag_name'] }}
release_upload_url: ${{ steps.release.outputs['upload_url'] }}
env:
GITHUB_REF: ${{ github.ref }}
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.RELEASE_PLEASE_PAT }}
DIST_FILE_NAME: ctrl-q
permissions:
contents: write
pull-requests: write
steps:
- name: Show github.ref
run: echo "$GITHUB_REF"
Expand All @@ -42,17 +45,17 @@ jobs:
- name: Show output from Release-Please
run: |
echo "releases_created: ${{ steps.release.outputs.releases_created }}"
echo "release_created : ${{ steps.release.outputs['src--release_created'] }}"
echo "draft : ${{ steps.release.outputs['src--draft'] }}"
echo "path : ${{ steps.release.outputs['src--path'] }}"
echo "upload_url : ${{ steps.release.outputs['src--upload_url'] }}"
echo "html_url : ${{ steps.release.outputs['src--html_url'] }}"
echo "tag_name : ${{ steps.release.outputs['src--tag_name'] }}"
echo "version : ${{ steps.release.outputs['src--version'] }}"
echo "major : ${{ steps.release.outputs['src--major'] }}"
echo "minor : ${{ steps.release.outputs['src--minor'] }}"
echo "patch : ${{ steps.release.outputs['src--patch'] }}"
echo "sha : ${{ steps.release.outputs['src--sha'] }}"
echo "release_created : ${{ steps.release.outputs.release_created }}"
echo "draft : ${{ steps.release.outputs['draft'] }}"
echo "path : ${{ steps.release.outputs['path'] }}"
echo "upload_url : ${{ steps.release.outputs['upload_url'] }}"
echo "html_url : ${{ steps.release.outputs['html_url'] }}"
echo "tag_name : ${{ steps.release.outputs['tag_name'] }}"
echo "version : ${{ steps.release.outputs['version'] }}"
echo "major : ${{ steps.release.outputs['major'] }}"
echo "minor : ${{ steps.release.outputs['minor'] }}"
echo "patch : ${{ steps.release.outputs['patch'] }}"
echo "sha : ${{ steps.release.outputs['sha'] }}"
#####################
Expand All @@ -68,7 +71,7 @@ jobs:
if: needs.release-please.outputs.releases_created == 'true'
env:
DIST_FILE_NAME: ctrl-q
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.RELEASE_PLEASE_PAT }}
MACOS_CERTIFICATE: ${{ secrets.PROD_MACOS_CERTIFICATE_BASE64_CODESIGN }}
MACOS_CERTIFICATE_PWD: ${{ secrets.PROD_MACOS_CERTIFICATE_CODESIGN_PWD }}
MACOS_CERTIFICATE_NAME: ${{ secrets.PROD_MACOS_CERTIFICATE_CODESIGN_NAME }}
Expand Down Expand Up @@ -180,7 +183,7 @@ jobs:
if: needs.release-please.outputs.releases_created == 'true'
env:
DIST_FILE_NAME: ctrl-q
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.RELEASE_PLEASE_PAT }}
# CODESIGN_PWD: ${{ secrets.WIN_CODESIGN_PWD}}
# CODESIGN_INTERMEDIATE_BASE64: ${{ secrets.WIN_CODESIGN_INTERMEDIATE_BASE64 }}
# CODESIGN_BASE64: ${{ secrets.WIN_CODESIGN_BASE64}}
Expand Down Expand Up @@ -271,7 +274,7 @@ jobs:
if: needs.release-please.outputs.releases_created == 'true'
env:
DIST_FILE_NAME: ctrl-q
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.RELEASE_PLEASE_PAT }}
steps:
- name: Release tag and upload url from previous job
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/insiders-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
- name: Create binaries
env:
DIST_FILE_NAME: ctrl-q
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.RELEASE_PLEASE_PAT }}
MACOS_CERTIFICATE: ${{ secrets.PROD_MACOS_CERTIFICATE_BASE64_CODESIGN }}
MACOS_CERTIFICATE_PWD: ${{ secrets.PROD_MACOS_CERTIFICATE_CODESIGN_PWD }}
MACOS_CERTIFICATE_NAME: ${{ secrets.PROD_MACOS_CERTIFICATE_CODESIGN_NAME }}
Expand Down
Loading

0 comments on commit 9017dd3

Please sign in to comment.