forked from tonynguyenit18/github-action-custom-vars
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request tonynguyenit18#3 from tonynguyenit18/test/add-most…
…-recent-merged-branch-name-feature-test-to-remote-action test: add most recent merged branch name feature using remote action tonynguyenit18/github-action-custom-vars@v1
- Loading branch information
Showing
4 changed files
with
19 additions
and
8 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,10 @@ | ||
name: "Log RECENT_MERGED_BRANCH_NAME using tonynguyenit18/github-action-custom-vars@v1" | ||
on: push | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: tonynguyenit18/github-action-custom-vars@v1 | ||
- run: echo $RECENT_MERGED_BRANCH_NAME |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: "Log RECENT_MERGED_BRANCH_NAME" | ||
name: "Log RECENT_MERGED_BRANCH_NAME using direct action" | ||
on: push | ||
|
||
jobs: | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"editor.formatOnSave": true | ||
"editor.formatOnSave": true, | ||
"git.ignoreLimitWarning": true | ||
} |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
name: 'Github action branch name' | ||
description: 'Export branch name in some special case as environment variables' | ||
name: "Github action custom vars" | ||
description: "Export git information via custom vars in some special case where github action workflow does not proved" | ||
branding: | ||
icon: 'git-branch' | ||
color: 'orange' | ||
icon: "git-branch" | ||
color: "orange" | ||
runs: | ||
using: 'node12' | ||
main: 'dist/index.js' | ||
using: "node12" | ||
main: "dist/index.js" |