Skip to content

Commit 34c11e7

Browse files
authored
ci: fix
1 parent 08ab7f3 commit 34c11e7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
- uses: actions/checkout@v4
1212

1313
- name: compile and run
14-
run: g++ hello_world.cpp -o hello_world_mac
14+
run: g++ hello_world.cpp -o hello_world_linux
1515

1616
- name: Create Release
1717
env:
1818
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1919
run: >-
2020
gh release create ${{ github.ref_name }}
21-
"hello_world_mac"
21+
"hello_world_linux"
2222
--generate-notes
2323
--title "Version ${{ github.ref_name }}"

hello_world.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ int main() {
55
// int x;
66
// cout << x << endl;
77

8-
int *p = nullptr;
8+
// int *p = nullptr;
99

10-
cout << *p << endl;
10+
// cout << *p << endl;
1111

1212
cout << "Hello World" << endl;
1313

0 commit comments

Comments
 (0)