update package names (#512) #26
Workflow file for this run
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: 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
|
||