Skip to content

Commit

Permalink
ci: update pbni-build-action
Browse files Browse the repository at this point in the history
  • Loading branch information
micha-wehrli committed Nov 26, 2023
1 parent a8ecc39 commit 04ba1c7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/autorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,16 @@ jobs:
# append_to_pre_release_tag: testrelease
# release_branches is default to main/master and will increase the patch number if nothing found in commit messages


# Needed to give vcpkg access to the private repository
- name: Git Creds
run: git config --global url.https://`${{ secrets.GH_PRIVATE_READ_PAT }}@github.com/.insteadOf https://github.com/
# The backtick ensures, that the secret isn't written into the config file
# instead, the token will be expanded when go wants to download a package

- name: Build
id: build
uses: informaticon/dev.github.base.pbni-build-action@v1.3.0
uses: informaticon/dev.github.base.pbni-build-action@v1.3.2
with:
version: "${{ steps.tag_version.outputs.new_version }}"

Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
submodules: recursive
token: ${{ secrets.GH_PRIVATE_READ_PAT }}

# Needed to give vcpkg access to the private repository
- name: Git Creds
run: git config --global url.https://`${{ secrets.GH_PRIVATE_READ_PAT }}@github.com/.insteadOf https://github.com/
# The backtick ensures, that the secret isn't written into the config file
# instead, the token will be expanded when go wants to download a package

- name: Build
id: build
uses: informaticon/dev.github.base.pbni-build-action@v1
uses: informaticon/dev.github.base.pbni-build-action@v1.3.2

0 comments on commit 04ba1c7

Please sign in to comment.