update Grafana to 12.1.0 #14
This file contains hidden or 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: Build Service | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths-ignore: ['*.md'] | |
| branches: ['main', 'master', 'update/040'] | |
| push: | |
| paths-ignore: ['*.md'] | |
| branches: ['main', 'master', 'update/040'] | |
| jobs: | |
| BuildPackage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Prepare StartOS SDK | |
| uses: start9labs/sdk@v2 | |
| - name: Checkout services repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Build the service package | |
| id: build | |
| run: | | |
| start-cli init | |
| RUST_LOG=debug RUST_BACKTRACE=1 make | |
| PACKAGE_ID=$(start-cli s9pk inspect *.s9pk manifest | jq -r '.id') | |
| echo "package_id=${PACKAGE_ID}" >> $GITHUB_ENV | |
| printf "\n SHA256SUM: $(sha256sum ${PACKAGE_ID}.s9pk) \n" | |
| shell: bash | |
| - name: Upload .s9pk | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ env.package_id }}.s9pk | |
| path: ./${{ env.package_id }}.s9pk |