Skip to content

Update release workflow to use tar.gz format and add .gitignore; enha… #2

Update release workflow to use tar.gz format and add .gitignore; enha…

Update release workflow to use tar.gz format and add .gitignore; enha… #2

Workflow file for this run

name: release
on:
push:
tags: ['*']
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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