Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
yonilerner committed Jan 11, 2024
1 parent a4e7ba6 commit 72efe55
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
Expand Down
12 changes: 7 additions & 5 deletions RetakesAllocator/release.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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/**
ls ./bin/**
ls ./bin/Release/RetakesAllocator

0 comments on commit 72efe55

Please sign in to comment.