File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 - name : Build
3232 run : |
3333 dotnet build -c Release
34- dotnet pack -c Release --no-build -o ./bin/dist
35- # Copy the built DLL to dist folder
34+ # Create dist folder and copy the built DLL for release
35+ mkdir -p ./bin/ dist/
3636 cp ./BepisModSettings/bin/Release/BepisModSettings.dll ./bin/dist/
3737 - name : Create Thunderstore Package
3838 run : |
4343 with :
4444 name : BepisModSettings-${{ steps.info.outputs.version }}-${{ steps.info.outputs.sha_short }}
4545 path : |
46- ./bin/dist/*.nupkg
4746 ./bin/dist/*.dll
4847 ./build/*.zip
Original file line number Diff line number Diff line change 3030 - name : Create Thunderstore Package
3131 run : |
3232 dotnet tool restore
33- dotnet tcli build --package-version $VERSION
33+ dotnet tcli build --package-version ${{ steps.info.outputs.version }}
3434 - name : Publish to Thunderstore
3535 run : |
3636 ZIP_FILE=$(ls ./build/*.zip | head -1)
Original file line number Diff line number Diff line change 1818jobs :
1919 release :
2020 runs-on : ubuntu-latest
21+ permissions :
22+ contents : write
2123 steps :
2224 - uses : actions/checkout@v3
2325 with :
@@ -39,12 +41,13 @@ jobs:
3941 - name : Build
4042 run : |
4143 dotnet build -c Release
42- # Copy the built DLL to dist folder for release
44+ # Create dist folder and copy the built DLL for release
45+ mkdir -p ./bin/dist/
4346 cp ./BepisModSettings/bin/Release/BepisModSettings.dll ./bin/dist/
4447 - name : Create Thunderstore Package
4548 run : |
4649 dotnet tool restore
47- dotnet tcli build
50+ dotnet tcli build --package-version ${{ steps.info.outputs.version }}
4851 - name : Create Git Tag (if needed)
4952 if : ${{ github.event_name == 'workflow_dispatch' }}
5053 run : |
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ schemaVersion = "0.0.1"
66[package ]
77namespace = " Resonite"
88name = " BepisModSettings"
9+ versionNumber = " 1.0.0"
910description = " Lets you edit your mod settings in settings tab of the dashboard"
1011websiteUrl = " https://github.com/ResoniteModding/BepisModSettings"
1112containsNsfwContent = false
You can’t perform that action at this time.
0 commit comments