diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c43759c..d82998f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,13 +32,13 @@ jobs: if: "!startsWith(github.ref, 'refs/tags/')" with: name: RetakesAllocator-${{github.sha}} - path: ${{github.workspace}}/RetakesAllocator/bin/Release/RetakesAllocator.zip + path: ${{github.workspace}}/RetakesAllocator/bin/Release/RetakesAllocator - name: Publish Archive for Release uses: actions/upload-artifact@v4 if: startsWith(github.ref, 'refs/tags/') with: name: RetakesAllocator-${{github.ref_name}} - path: ${{github.workspace}}/RetakesAllocator/bin/Release/RetakesAllocator.zip + path: ${{github.workspace}}/RetakesAllocator/bin/Release/RetakesAllocator - name: Attach Release Files uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') diff --git a/RetakesAllocator/release.bash b/RetakesAllocator/release.bash index b996703..55ab06f 100644 --- a/RetakesAllocator/release.bash +++ b/RetakesAllocator/release.bash @@ -10,13 +10,15 @@ echo $NEW_DIR ls $TARGET_DIR/** -echo mkdir -p $NEW_DIR -mkdir -p $NEW_DIR +#echo mkdir -p $NEW_DIR +#mkdir -p $NEW_DIR +cp -r $TARGET_DIR $NEW_DIR echo cp -rf "$TARGET_DIR/runtimes/linux-x64" "$NEW_DIR/runtimes" cp -rf "$TARGET_DIR/runtimes/linux-x64" "$NEW_DIR/runtimes" echo cp -rf "$TARGET_DIR/runtimes/win-x64" "$NEW_DIR/runtimes" cp -rf "$TARGET_DIR/runtimes/win-x64" "$NEW_DIR/runtimes" -echo zip -r "$TARGET_NAME.zip" "$NEW_DIR/" -zip -r "./bin/Release/$TARGET_NAME.zip" "$NEW_DIR/" +#echo zip -r "$TARGET_NAME.zip" "$NEW_DIR/" +#zip -r "./bin/Release/$TARGET_NAME.zip" "$NEW_DIR/" -ls ./bin/** \ No newline at end of file +ls ./bin/** +ls ./bin/Release/RetakesAllocator \ No newline at end of file