diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md index 8ceb5c7..520fac5 100644 --- a/.github/ISSUE_TEMPLATE/bug.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -18,7 +18,7 @@ A clear and concise description of what you expected to happen. Tell us what actually happened. **Environment** - - OS: [e.g. Ubuntu 20.04] + - OS: [e.g. Ubuntu 20.04] (If possible, provide output of `uname -a`) - JDK version: - Nucleus version: diff --git a/.github/workflow/archive_template.yml b/.github/workflow/archive_template.yml new file mode 100644 index 0000000..31990ee --- /dev/null +++ b/.github/workflow/archive_template.yml @@ -0,0 +1,41 @@ +# This workflow archives the templates from the git hub repository + +name: Archive +on: + # Triggers the workflow on push or pull request events but only for the main branch + push: + branches: [ main ] + pull_request: + branches: [ main ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + archive: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Zip the templates + run: | + mkdir zip + # TODO: Add commands to zip the templates + + - name: Upload zipped artifacts + uses: actions/upload-artifact@v2.2.4 + with: + name: templates + path: templates/*.zip + + - name: Download uploaded artifacts + id: download + uses: actions/download-artifact@v2.0.10 + with: + path: ~/download/ + + - name: Release + id: upload-release-asset + uses: softprops/action-gh-release@v1 + with: + files: ${{steps.download.outputs.download-path}}/templates/*.zip + tag_name: v1.0 \ No newline at end of file