diff --git a/.extras/LICENSE-MIT b/.extras/LICENSE-MIT index 0bdad8f..76e14a3 100644 --- a/.extras/LICENSE-MIT +++ b/.extras/LICENSE-MIT @@ -1,4 +1,4 @@ -Copyright (c) 2019 Embark Studios +Copyright (c) 2025 MrDwarf7 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated diff --git a/.github/workflows/publish.yml b/.github/_publish.yml similarity index 95% rename from .github/workflows/publish.yml rename to .github/_publish.yml index 7429c1b..bf0dc36 100644 --- a/.github/workflows/publish.yml +++ b/.github/_publish.yml @@ -1,7 +1,4 @@ name: "Publish" -on: - release: - types: [published] env: preview: ${{ github.event_name == 'release' && contains(github.event.release.tag_name, 'preview') }} PROJECT_NAME: REPLACE_NAME_HERE @@ -14,6 +11,7 @@ jobs: - os: ubuntu-latest runs-on: ${{ matrix.os }} steps: + - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 with: merge-multiple: true @@ -28,4 +26,3 @@ jobs: file: ${{ env.PROJECT_NAME }}-*.zip file_glob: true overwrite: true - diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a112704..806b226 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -135,7 +135,7 @@ jobs: permissions: contents: write runs-on: ubuntu-latest - needs: [package-docs-unix, package-docs-windows] + needs: [ package-docs-unix, package-docs-windows ] steps: - run: | echo 'DOCS_BODY<> $GITHUB_ENV @@ -171,7 +171,7 @@ jobs: fail_on_unmatched_files: true draft: true files: | - ${{ env.PROJECT_NAME }}-${{ matrix.target }}-docs.zip + ${{ env.PROJECT_NAME }}.zip name: "[${{ github.ref_name }} Docs]" body: ${{ env.DOCS_BODY }} target_commitish: ${{ github.sha }} diff --git a/.gitignore b/.gitignore index f7ee72a..142d7dd 100644 --- a/.gitignore +++ b/.gitignore @@ -19,8 +19,6 @@ env* *env *env* *.env* -*.env* -*.env* # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html diff --git a/Cargo.toml b/Cargo.toml index 7cdfd97..f534cc7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ cargo-features = [ "codegen-backend" ] [package] name = "rust_template" version = "0.1.0" -edition = "2021" +edition = "2024" # For running the main server as a watch call # cargo watch -q -c -w src/ -x run