particle-os-modules/.github/workflows/build-unified.yml
dependabot[bot] bd1ff5d0bc
chore(deps): bump hustcer/setup-nu from 3.12 to 3.13 (#326)
Bumps [hustcer/setup-nu](https://github.com/hustcer/setup-nu) from 3.12 to 3.13.
- [Release notes](https://github.com/hustcer/setup-nu/releases)
- [Changelog](https://github.com/hustcer/setup-nu/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hustcer/setup-nu/compare/v3.12...v3.13)

---
updated-dependencies:
- dependency-name: hustcer/setup-nu
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fiftydinar <65243233+fiftydinar@users.noreply.github.com>
2024-09-19 10:55:18 +02:00

38 lines
1,010 B
YAML

name: build-unified
on:
push:
paths-ignore: # don't rebuild if only documentation has changed
- "**.md"
pull_request:
merge_group:
workflow_dispatch:
jobs:
build-unified:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hustcer/setup-nu@v3.13
with:
version: v0.93
- uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: sigstore/cosign-installer@v3.6.0
- name: Run build and push script
run: nu ./build-unified.nu
env:
REGISTRY: ghcr.io/${{ github.repository_owner }}
COSIGN_PRIVATE_KEY: ${{ secrets.SIGNING_SECRET }}
GH_EVENT_NAME: ${{ github.event_name }}
GH_PR_NUMBER: ${{ github.event.number }}
GH_BRANCH: ${{ github.ref_name }}