Fixed DRC issues, removed fiducials, switched USB to a vertical one, … #3
Workflow file for this run
This file contains 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: tagged-release | |
on: | |
push: | |
tags: | |
- "v*" | |
env: | |
BOARD_NAME: "xESC" | |
jobs: | |
tagged-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: INTI-CMNB/KiBot@v2_k8 | |
with: | |
config: PCB/xESC2.kibot.yaml | |
board: PCB/xESC2.kicad_pcb | |
- name: 'Fix permissions on release/' | |
run: sudo chmod 0777 release | |
# Zip the release directory and include the tag (version) in the filename | |
- name: Compress release directory into a versioned ZIP file | |
run: zip -r "release-${{ env.BOARD_NAME }}-${GITHUB_REF_NAME}.zip" release/* | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: "release-${{ env.BOARD_NAME }}-${{ github.ref_name }}" # Use the tag as the artifact name | |
path: release | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: false | |
files: "release-${{ env.BOARD_NAME }}-${{ github.ref_name }}.zip" | |
- name: Deploy release | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: release | |
destination_dir: release | |
- name: Deploy release_navigator | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: release_navigator | |
destination_dir: release_navigator | |
keep_files: true | |
- name: Deploy release_navigator index | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: release_navigator | |
keep_files: true |