clowdhaus / aws-github-actions Goto Github PK
View Code? Open in Web Editor NEWDeploy ๐ to AWS โ๏ธ with :octocat: GitHub Actions!
License: Apache License 2.0
Deploy ๐ to AWS โ๏ธ with :octocat: GitHub Actions!
License: Apache License 2.0
I'm getting the below error message when doing an s3 sync with the Windows runner os.
Run clowdhaus/aws-github-actions/packages/s3_sync@master
with:
local-path: dist/
bucket-name: %%Secret%%
path-prefix: bin/refs/heads/pipeline
env:
AWS_ACCESS_KEY_ID: ***
AWS_SECRET_ACCESS_KEY: ***
AWS_DEFAULT_REGION: us-east-1
AWS_REGION: us-east-1
##[error]Unable to locate executable file: C:\Program. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.
Create github action for s3 sync on windows runner.
- name: Upload Binaries
if: startsWith(matrix.os, 'windows')
uses: clowdhaus/aws-github-actions/packages/s3_sync@master
with:
local-path: dist/
bucket-name: %%Secret%%
path-prefix: bin/${runner.os}/
Run the action and see the error.
Expected behavior is sync action will complete without error.
Getting ##[error]Unable to locate executable file: aws. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
error when running action on Github shared runners
Steps to reproduce the behavior:
Set up GH action
- name: deploy
uses: clowdhaus/aws-github-actions/packages/[email protected]
with:
local-path: build/
bucket-name: ${{ env.BUCKET }}
args: --cache-control "max-age=3600" --exclude "service-worker.js" --exclude "*manifest.json" --exclude "*.html"
Bucket updated.
Github shared action runner
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: clowdhaus/aws-github-actions/iam_access_credentials@main, clowdhaus/aws-github-actions/awscli@main. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Upgrade to node 20
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.