Skip to content

GenesisSam/get-simple-file-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-simple-file-action

In Github actions, get file data

How to use

steps:
  - uses: actions/checkout@v1

  - name: create temp file
    run: |
      mkdir tmp
      echo "v1.0.0-beta.10" > tmp/version

  - uses: GenesisSam/get-simple-file-action@v1.0.5
    id: openFile
    with:
      file-name: ${{ 'tmp/version' }}

  - name: result
    if: success() && steps.openFile.outputs.data
    run: echo "tmp/version> ${ steps.openFile.outputs.data }"

About

In GH actions, get file data

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •