Skip to content

Commit

Permalink
auto-release github action tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
fosterbrereton committed Jan 6, 2023
1 parent 5b19b8c commit a6975f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ jobs:
ls -alF
- name: 🗜️ Create archive
run: |
cd build/Release
cd build
tar -zcvf hyde-${{github.ref_name}}-linux-${{runner.arch}}.tgz hyde
- name: ✍️ Post archive
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files:
build/Release/hyde-${{github.ref_name}}-linux-${{runner.arch}}.tgz
build/hyde-${{github.ref_name}}-linux-${{runner.arch}}.tgz
2 changes: 1 addition & 1 deletion sources/autodetect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ std::vector<filesystem::path> autodetect_include_paths() {
auto command = "echo \"int main() { }\" | clang++ -x c++ -v -o " + temp_a_out + " - 2> " + temp_out;

auto command_result = std::system(command.c_str());
(void)command_result;
(void)command_result; // TODO: handle me

std::vector lines(file_slurp(temp_out));
static const std::string begin_string("#include <...> search starts here:");
Expand Down

0 comments on commit a6975f1

Please sign in to comment.