Skip to content

Commit

Permalink
feat: add google drive upload action
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxilin committed Jan 9, 2025
1 parent fce8599 commit f9162ce
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions .github/workflows/build_node_shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,24 @@ jobs:
repository: nodejs/node
ref: v22.12.0

- name: Configure and Build
run: |
if [ "$compiler" == "gcc" ]; then
export CC=gcc
export CXX=g++
else
export CC=clang
export CXX=clang++
fi
./configure --shared
make -j$(nproc)
# - name: Configure and Build
# run: |
# if [ "$compiler" == "gcc" ]; then
# export CC=gcc
# export CXX=g++
# else
# export CC=clang
# export CXX=clang++
# fi

# ./configure --shared
# make -j$(nproc)

- name: Upload to Google drive
uses: adityak74/google-drive-upload-git-action@main
with:
credentials: ${{ secrets.GOOGLE_DRIVE_CREDENTIALS }}
filename: "LICENSE"
folderId: ${{ secrets.GOOGLE_DRIVE_FOLDER_ID }}
name: "node-shared-${{ matrix.compiler }}.zip" # optional string
overwrite: "true" # optional boolean

0 comments on commit f9162ce

Please sign in to comment.