From 9a2a8b8562603dfa72f9c3ce6c28b20ea4435f4f Mon Sep 17 00:00:00 2001 From: kotontrion <141950090+kotontrion@users.noreply.github.com> Date: Wed, 20 Sep 2023 20:15:55 +0200 Subject: [PATCH] Create create_release.yaml (#102) --- .github/workflows/create_release.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/create_release.yaml diff --git a/.github/workflows/create_release.yaml b/.github/workflows/create_release.yaml new file mode 100644 index 0000000..9b9e87d --- /dev/null +++ b/.github/workflows/create_release.yaml @@ -0,0 +1,25 @@ +name: Create Release + +permissions: + contents: write + +on: + release: + types: [published] + +jobs: + release: + name: Create Release + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: 'recursive' + - name: Create tar file + run: | + cd .. + tar -czf "ags-${{ github.ref_name }}.tar.gz" "ags" + - name: Upload assets + uses: softprops/action-gh-release@v1 + with: + files: ../ags-${{ github.ref_name }}.tar.gz