From b45ffcda64b37199c392a4961542ccb08931eabf Mon Sep 17 00:00:00 2001 From: winston Date: Sun, 26 Mar 2023 17:51:00 +0200 Subject: [PATCH] ci: add release workflow --- .github/workflows/release.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..a5f25fd --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,22 @@ +name: Release +on: + push: + tags: + - "v*" + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - run: npm ci + - run: npm run build + - name: Create tarball + run: tar czf catppuccin-gitea.tar.gz --directory=./dist . + - name: Add zips to release + uses: softprops/action-gh-release@v1 + with: + files: ./catppuccin-gitea.tar.gz