From 93c44b222056838493edcd79e4cf6e40cb738224 Mon Sep 17 00:00:00 2001 From: Jacques Supcik Date: Wed, 18 Dec 2024 11:18:05 +0100 Subject: [PATCH] Add GitHub Actions workflow for release and create README file --- .github/workflows/release.yml | 18 ++++++++++++++++++ README.md | 1 + 2 files changed, 19 insertions(+) create mode 100644 .github/workflows/release.yml create mode 100644 README.md diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..cbe8ed7 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,18 @@ +name: release + +on: + push: + tags: ['*'] + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: mkdir -p dist + - run: zip -r dist/boilerplate.zip .devcontainer .startup.sh + - uses: softprops/action-gh-release@v2 + id: release + if: startsWith(github.ref, 'refs/tags/') + with: + files: dist/*.zip diff --git a/README.md b/README.md new file mode 100644 index 0000000..bf66a30 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Compiler Construction Lecture - Development Environment