Merge pull request #65 from vfarcic/renovate/providers #155
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build11 | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-package: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- name: Install Devbox | |
uses: jetpack-io/devbox-install-action@v0.11.0 | |
with: | |
enable-cache: true | |
project-path: .github/workflows | |
- name: Test | |
run: devbox --config .github/workflows run test | |
- name: Publish | |
run: | | |
export UP_TOKEN=${{ secrets.UP_TOKEN }} | |
export UP_ACCOUNT=${{ secrets.UP_ACCOUNT }} | |
export VERSION=v0.12.${{ github.run_number }} | |
devbox --config .github/workflows run package-publish | |
- name: Commit changes | |
run: | | |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git config --local user.name "github-actions[bot]" | |
git add . | |
git commit -m "Config update [skip ci]" | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.CROSSPLANE_TOKEN }} | |
branch: ${{ github.ref }} | |