Skip to content

Enhance release workflow with pre-commit hooks and update README for … #3

Enhance release workflow with pre-commit hooks and update README for …

Enhance release workflow with pre-commit hooks and update README for … #3

Workflow file for this run

name: release
on:
push:
tags: ['*']
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pre-commit/[email protected]
- run: mkdir -p dist
- run: tar czvf ./dist/cc-devcontainer.tar.gz .devcontainer .startup.sh
- run: zip -r dist/cc-devcontainer.zip .devcontainer .startup.sh
- uses: softprops/action-gh-release@v2
id: release
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dist/*.tar.gz
dist/*.zip