-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 48cffce
Showing
13 changed files
with
52,780 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Create Git Tag | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- VERSION | ||
|
||
jobs: | ||
create_tag: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# https://github.com/orgs/community/discussions/25617#discussioncomment-3248494 | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Create Git Tag | ||
run: | | ||
git tag $(cat VERSION) | ||
git push origin $(cat VERSION) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
build/ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# create-aws-credentials | ||
|
||
This action creates `~/.aws/credentials` file for use in subsequent steps in a GitHub Action workflow. | ||
|
||
## Example usage | ||
|
||
```yaml | ||
uses: ygpark80/create-aws-credentials@v1 | ||
with: | ||
profile: user1 | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-east-2 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
name: "Create '~/.aws/credentials' file" Action for GitHub Actions | ||
description: Creates '~/.aws/credentials' file for use in subsequent steps in a GitHub Action workflow | ||
runs: | ||
using: node20 | ||
main: dist/index.js | ||
post: dist/cleanup/index.js | ||
inputs: | ||
profile: | ||
description: AWS profile name to use in the credentials file. | ||
required: true | ||
aws-region: | ||
description: AWS Region, e.g. us-east-2 | ||
required: true | ||
aws-access-key-id: | ||
description: AWS Access Key ID. | ||
required: true | ||
aws-secret-access-key: | ||
description: AWS Secret Access Key. | ||
required: true |
Oops, something went wrong.