Skip to content

Commit

Permalink
p
Browse files Browse the repository at this point in the history
  • Loading branch information
diogotr7 committed Jul 25, 2023
1 parent 3e433f1 commit ae50cc0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:
- name: Upload
uses: actions/upload-artifact@v3
with:
name: Plugin
path: src/Artemis.Plugins.MyPlugin/bin/x64/Release/net7.0/publish
name: {{pluginName}}
path: src/{{pluginName}}/bin/x64/Release/net7.0/publish
8 changes: 5 additions & 3 deletions .github/workflows/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ jobs:
dotnet sln src/Artemis.Plugins.sln add src/$pluginName
rm .template
Get-Content .github/workflows/build.yml.template | ForEach-Object { $_ -replace '{{pluginName}}', $pluginName } | Set-Content .github/workflows/build.yml
rm .github/workflows/template.yml
rm README.md
rm .github/workflows/build.yml.template
rm .template
mv README2.md README.md
mv README2.md README.md -force
# Set github actions[bot] as the commiter
- run: |
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@
- The structure of the repository, with the recommended folder structure
- A new plugin ready to be developed.
- Pre-configured gitignore and CI so you can focus on the code
4. Start developing your plugin
5. Optionally, you can delete the template github workflow file
4. Start developing your plugin
5 changes: 1 addition & 4 deletions README2.md
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
# Congratulations, the template is working!

You can remove this file and the `template.yml` workflow file.
Additionnaly, the `build.yml` workflow will need to be edited for downloads to work.
# Congratulations, the template is working!

0 comments on commit ae50cc0

Please sign in to comment.