Difference between revisions of "GitHub Actions: run:"

From wikieduonline
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 22: Line 22:
  
 
https://github.com/github/actions-cheat-sheet/blob/master/actions-cheat-sheet.adoc#run
 
https://github.com/github/actions-cheat-sheet/blob/master/actions-cheat-sheet.adoc#run
  jobs:
+
  {{run ex}}
  my_build:
+
 
    runs-on: ubuntu-latest
 
    steps:
 
      - name: Checking out our code
 
        uses: actions/checkout@master
 
      - name: Say something
 
        run: |
 
          echo "A little less ${message}"
 
          echo "A little more action"
 
  
 
== Related ==
 
== Related ==
Line 40: Line 32:
  
 
== See also ==
 
== See also ==
 +
* {{run:}}
 +
* {{runs-on}}
 
* {{GitHub Actions}}
 
* {{GitHub Actions}}
  
 
[[Category:GitHub]]
 
[[Category:GitHub]]

Latest revision as of 10:11, 21 October 2024


      - run: ./your_script_to_deploy.sh --deploy your_service
        working-directory: path/to/your/script/
        env:
          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}


  - name: your name
    env: 
          XXXXXX
          XXXXXXX
    run: yarn build
    continue-on-error: true
run: echo "{environment_variable_name}={value}" >> $GITHUB_ENV

https://github.com/github/actions-cheat-sheet/blob/master/actions-cheat-sheet.adoc#run

jobs:
  my_build:
    runs-on: ubuntu-latest
    steps:
      - name: Checking out our code
        uses: actions/checkout@master
      - name: Say something
        run: |
          echo "A little less ${message}"
          echo "A little more action"


Related[edit]

See also[edit]

Advertising: