Skip to content

Commit

Permalink
check dir
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Jun 5, 2024
1 parent 0aaaad1 commit 3006965
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
- uses: actions/checkout@v2
- name: Run build script
run: |
cd $GITHUB_WORKSPACE
bash ./osx64.sh
- uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 4 additions & 0 deletions linux64.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash
pwd
[ -z "$WORKSPACE" ] && WORKSPACE="$( cd "$( dirname "$0" )"/.. && pwd )"
pwd
echo "$WORKSPACE"
echo "$GITHUB_WORKSPACE"

mkdir abc
cd abc
Expand Down
4 changes: 4 additions & 0 deletions osx64.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash
pwd
[ -z "$WORKSPACE" ] && WORKSPACE="$( cd "$( dirname "$0" )"/.. && pwd )"
pwd
echo "$WORKSPACE"
echo "$GITHUB_WORKSPACE"

mkdir abc
cd abc
Expand Down

0 comments on commit 3006965

Please sign in to comment.