Skip to content

Commit

Permalink
bad editorconfig bad
Browse files Browse the repository at this point in the history
  • Loading branch information
raiyni committed Feb 14, 2025
1 parent 5a1facd commit 5e91fc4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false
15 changes: 11 additions & 4 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag
if: ${{ steps.release-label.outputs.level != null }}
with:
semver_only: true

- name: Echo release
run: echo ${{ steps.get-latest-tag.outputs.tag }}

- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@v4.3.1
Expand All @@ -24,15 +33,13 @@ jobs:

- name: Echo log
run: echo "${{ steps.changelog.outputs.changelog }}" > out.md

- name: Cat log
run: cat out.md

- name: Upload sample
uses: ncipollo/release-action@v1
with:
name: Sample/Resource packs ${{ github.ref_name }}
repo_token: ${{ secrets.ACCESS_TOKEN }}
overwrite: true
token: ${{ secrets.ACCESS_TOKEN }}
allowUpdates: true
body: ${{ steps.changelog.outputs.changelog }}
body: ${{ steps.changelog.outputs.changelog }}

0 comments on commit 5e91fc4

Please sign in to comment.