Skip to content

Commit

Permalink
fix: small name change & duplicate ignores
Browse files Browse the repository at this point in the history
fix: workflow zip naming
  • Loading branch information
MrDwarf7 committed Jan 31, 2025
1 parent 2b11231 commit 8bc5cfe
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .extras/LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/publish.yml → .github/_publish.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -28,4 +26,3 @@ jobs:
file: ${{ env.PROJECT_NAME }}-*.zip
file_glob: true
overwrite: true

4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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<<EOF' >> $GITHUB_ENV
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8bc5cfe

Please sign in to comment.