From ad0cbf9c0e2005b4974f2c0696abb91eb3473960 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 | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 17a4f136..3faa440e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -66,19 +66,23 @@ 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 + uses: softprops/action-gh-release@v2 + with: + name: ${{ inputs.version }} + body_path: notes.md + token: ${{ secrets.USER_PAT }} + prerelease: ${{ contains(inputs.version, '-') }} + files: | + Lilex.zip \ No newline at end of file