Skip to content

update package names (#512) #26

update package names (#512)

update package names (#512) #26

Workflow file for this run

name: Continuous Deployment
permissions:
contents: write
on:
push:
tags:
- "*.*.*"
jobs:
deploy-packages:
runs-on: macos-latest
steps:
- name: Extract tag name
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
version: 0.14.0
- name: Extract version
run: echo "MICROZIG_VERSION=$(zig build package -- get-version)" >> $GITHUB_ENV
- name: Assemble Packages
run: zig build package -- https://github.com/ZigEmbeddedGroup/microzig/releases/download
- name: Create Release Draft
uses: ncipollo/release-action@v1
id: create_release
with:
tag: ${{ env.TAG_NAME }}
artifactErrorsFailBuild: true
draft: true
generateReleaseNotes: true
artifacts: boxzer-out/${{ MICROZIG_VERSION }}/*

Check failure on line 42 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Continuous Deployment

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 42, Col: 22): Unrecognized named-value: 'MICROZIG_VERSION'. Located at position 1 within expression: MICROZIG_VERSION