Skip to content

actions/checkout

actions/checkout #3

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- limited_release
jobs:
release:
runs-on: ubuntu-latest
env:
PDK_ROOT: ${{ github.workspace }}/tools/open_pdks/share/pdk
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/install-tools.yml
with:
tools_path: ${{ github.workspace }}/tools
- name: Generate SVGs
run: make all_svg
- name: Tar SVGs
run: |
cd svg
tar -czf cells.tar.gz *
- name: Create Tag
run: |
echo "TAG_NAME=$(date +%Y.%m.%d.%H.%M)" >> "$GITHUB_ENV"
git tag ${{ env.TAG_NAME }}
git push origin ${{ env.TAG_NAME }}
- name: Create Release
uses: ncipollo/release-action@v1
with:
allowUpdates: True
omitBody: True
tag: ${{ env.TAG_NAME }}
artifacts: |
svg/cells.tar.gz
token: ${{ secrets.GITHUB_TOKEN }}