Skip to content

feat: add google drive upload action #10

feat: add google drive upload action

feat: add google drive upload action #10

name: Build Node.js Shared Library
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- '.github/workflows/build_node_shared.yml'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [gcc, clang]
# container:
# image: ghcr.io/ten-framework/ten_building_ubuntu2204
steps:
# - name: Checkout Node.js
# uses: actions/checkout@v4
# with:
# 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: Upload to Google drive
uses: Fork-on-the-Table-Collective/[email protected]
with:
credentials: ${{ secrets.GOOGLE_DRIVE_CREDENTIALS }}
actionType: upload
localPath: ./LICENSE
googleFolderId: aaa