Ionic Dev Build #1721
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: 'Ionic Dev Build' | ||
| on: | ||
| workflow_dispatch: | ||
| jobs: | ||
| create-dev-hash: | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| dev-hash: ${{ steps.create-dev-hash.outputs.DEV_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-dev-hash | ||
| name: Create Dev Hash | ||
| run: | | ||
| echo "DEV_HASH=$(node ./.scripts/bump-version.js)-dev.1$(date +%s).1$(git log -1 --format=%H | cut -c 1-7)" >> $GITHUB_OUTPUT | ||
| shell: bash | ||
| release-ionic: | ||
|
Check failure on line 25 in .github/workflows/dev-build.yml
|
||
| needs: [create-dev-hash] | ||
| permissions: | ||
| id-token: write | ||
| uses: ./.github/workflows/release-ionic.yml | ||
| with: | ||
| tag: dev | ||
| version: ${{ needs.create-dev-hash.outputs.dev-hash }} | ||
| get-build: | ||
| name: Get your dev build! | ||
| runs-on: ubuntu-latest | ||
| needs: [create-dev-hash, release-ionic] | ||
| steps: | ||
| - run: echo ${{ needs.create-dev-hash.outputs.dev-hash }} | ||