diff --git a/.github/workflows/archive.yml b/.github/workflows/archive.yml new file mode 100644 index 0000000..7c2dd7f --- /dev/null +++ b/.github/workflows/archive.yml @@ -0,0 +1,22 @@ +name: "Upload zip-archive" +on: + release: + types: [published] + +jobs: + zip-archive: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3.0.2 + with: + submodules: true + - name: Create zip including submodules + run: | + cd .. + zip ${{ github.event.repository.name }}/${{ github.event.repository.name }}-${{ github.ref_name }}.zip ${{ github.event.repository.name }} -r + - name: Upload zip to release + uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 + with: + files: | + ${{ github.event.repository.name }}-${{ github.ref_name }}.zip \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 31b62e7..0bf29b5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,7 @@ name: "Build pull request" on: - pull_request: - types: ['opened', 'synchronize'] + #pull_request: + #types: ['opened', 'synchronize'] jobs: publish-tauri: