Skip to content

Ionic Nightly Build #1013

Ionic Nightly Build

Ionic Nightly Build #1013

Workflow file for this run

name: 'Ionic Nightly Build'
on:
schedule:
# Run every Monday-Friday
# at 6:00 UTC (6:00 am UTC)
- cron: '00 06 * * 1-5'
jobs:
create-nightly-hash:
runs-on: ubuntu-latest
outputs:
nightly-hash: ${{ steps.create-nightly-hash.outputs.NIGHTLY_HASH }}
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
# A 1 is required before the timestamp
# as lerna will fail when there is a leading 0
# See https://github.com/lerna/lerna/issues/2840
- name: Install Dependencies
run: npm ci
shell: bash
- id: create-nightly-hash
name: Create Nightly Hash
# The date should output YYYYMMDD
# so that it is human readable
run: |
echo "NIGHTLY_HASH=$(node ./.scripts/bump-version.js)-nightly.$(date +%Y%m%d)" >> $GITHUB_OUTPUT
shell: bash
release-ionic:

Check failure on line 30 in .github/workflows/nightly.yml

View workflow run for this annotation

GitHub Actions / Ionic Nightly Build

Invalid workflow file

The workflow is not valid. .github/workflows/nightly.yml (Line: 30, Col: 3): Error calling workflow 'ionic-team/ionic-framework/.github/workflows/release-ionic.yml@92db36489cca944caf1593dbd518a1f025a171a2'. The workflow is requesting 'contents: read', but is only allowed 'contents: none'.
needs: [create-nightly-hash]
permissions:
id-token: write
uses: ./.github/workflows/release-ionic.yml
with:
tag: nightly
version: ${{ needs.create-nightly-hash.outputs.nightly-hash }}