From 519fbdc876a83ed6529fb794c0ba607857c87335 Mon Sep 17 00:00:00 2001 From: mishamyrt Date: Sat, 20 Jul 2024 01:28:14 +0300 Subject: [PATCH] ci: add push --- .github/workflows/release.yaml | 35 +++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 17a4f136..e415d6d7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -66,19 +66,24 @@ jobs: git commit -m "chore: release ${{ inputs.version }} 🔥" git tag "${{ inputs.version }}" - # - name: Push changes - # uses: ad-m/github-push-action@master - # with: - # ssh: true - # tags: true + - name: Pack build + run: | + cd fonts; zip -r ../Lilex.zip . + cd .. + + - name: Push changes + uses: ad-m/github-push-action@master + with: + ssh: true + tags: true - # - name: Create GitHub release - # if: github.event_name == 'push' - # uses: softprops/action-gh-release@v2 - # with: - # name: ${{ input.version }} - # body_path: notes.md - # token: ${{ secrets.USER_PAT }} - # prerelease: ${{ contains(input.version, '-') }} - # files: | - # Lilex.zip \ No newline at end of file + - name: Create GitHub release + if: github.event_name == 'push' + uses: softprops/action-gh-release@v2 + with: + name: ${{ input.version }} + body_path: notes.md + token: ${{ secrets.USER_PAT }} + prerelease: ${{ contains(input.version, '-') }} + files: | + Lilex.zip \ No newline at end of file