Skip to content

Merge remote-tracking branch 'origin/dev/cicd' into dev/cicd #20

Merge remote-tracking branch 'origin/dev/cicd' into dev/cicd

Merge remote-tracking branch 'origin/dev/cicd' into dev/cicd #20

Workflow file for this run

name: Pixels Daily Build and Release

Check failure on line 1 in .github/workflows/daily-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/daily-build.yml

Invalid workflow file

(Line: 13, Col: 17): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.PIXELS_DEVELOP
on:
schedule:
- cron: '30 1 * * *'
workflow_dispatch:
env:
GH_TOKEN: ${{ secrets.PIXELS_DEVELOP }}
jobs:
remove:
uses: ./.github/workflows/remove-daily-latest.yml
with:
gh_token: ${{ secrets.PIXELS_DEVELOP }}
build:
uses: ./.github/workflows/build-pixels.yml
with:
build_type: "daily"
release:
needs: [build, remove]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Create or Update Daily Release
uses: softprops/action-gh-release@v2
with:
tag_name: daily-latest
name: "Pixels Daily Build ${{ needs.build.outputs.build_date }}"
body: |
Automated daily build created at ${{ needs.build.outputs.build_date }}.
Environment:
- Commit: ${{ needs.build.outputs.commit_hash }}
- Java: ${{ needs.build.outputs.java_version }}
- CMake: ${{ needs.build.outputs.cmake_version }}
- C++: ${{ needs.build.outputs.cxx_version }}
files: ${{ needs.build.outputs.package_path }}
prerelease: true
draft: false