Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pjt3591oo/act-practice
https://github.com/pjt3591oo/act-practice
act actions github
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pjt3591oo/act-practice
- Owner: pjt3591oo
- Created: 2022-09-28T12:58:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-03T09:30:34.000Z (over 2 years ago)
- Last Synced: 2024-11-06T23:36:28.788Z (2 months ago)
- Topics: act, actions, github
- Language: JavaScript
- Homepage: https://github.com/nektos/act
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
* dry run
```bash
$ act -n*DRYRUN* [For Hellow World/Hello] π Start image=catthehacker/ubuntu:act-latest
*DRYRUN* [For Hellow World/Hello] π³ docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=false
*DRYRUN* [For Hellow World/Hello] π³ docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
*DRYRUN* [For Hellow World/Hello] π³ docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
*DRYRUN* [For Hellow World/Hello] β Run Main Checkout
*DRYRUN* [For Hellow World/Hello] β Success - Main Checkout
*DRYRUN* [For Hellow World/Hello] β Run Main run hello action
*DRYRUN* [For Hellow World/Hello] β Success - Main run hello action
*DRYRUN* [For Hellow World/Hello] β Run Main echo eviroments KEY1
*DRYRUN* [For Hellow World/Hello] β Success - Main echo eviroments KEY1
*DRYRUN* [For Hellow World/Hello] β Run Main echo eviroments KEY2
*DRYRUN* [For Hellow World/Hello] β Success - Main echo eviroments KEY2
*DRYRUN* [For Hellow World/Hello] β Run Main echo event head commit message1
*DRYRUN* [For Hellow World/Hello] β Success - Main echo event head commit message1
*DRYRUN* [For Hellow World/Hello] β Run Main echo event head commit message2
*DRYRUN* [For Hellow World/Hello] β Success - Main echo event head commit message2
*DRYRUN* [For Hellow World/Hello] β Run Main echo github reference1
*DRYRUN* [For Hellow World/Hello] β Success - Main echo github reference1
*DRYRUN* [For Hellow World/Hello] β Run Main echo github reference2
*DRYRUN* [For Hellow World/Hello] β Success - Main echo github reference2
*DRYRUN* [For Hellow World/Hello] π Job succeeded
```* run
```bash
$ act --secret-file=".secrets"[For Hellow World/Hello] π Start image=catthehacker/ubuntu:act-latest
[For Hellow World/Hello] π³ docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=false
[For Hellow World/Hello] π³ docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[For Hellow World/Hello] π³ docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[For Hellow World/Hello] β Run Main Checkout
[For Hellow World/Hello] π³ docker cp src=/Users/jeongtaepark/Desktop/act-practice/. dst=/Users/jeongtaepark/Desktop/act-practice
[For Hellow World/Hello] β Success - Main Checkout
[For Hellow World/Hello] β Run Main run hello action
[For Hellow World/Hello] π³ docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/hello-action] user= workdir=
| λ©κ°λ μ μκ²Όλ€
| λ©κ°λ μ½λ©μ λͺ»νλ€.
| λ©κ°λ κ·Έλ¦Όμ λͺ» κ·Έλ¦°λ€.
[For Hellow World/Hello] β Success - Main run hello action
[For Hellow World/Hello] β Run Main echo eviroments KEY1
[For Hellow World/Hello] π³ docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/2] user= workdir=
| ***
[For Hellow World/Hello] β Success - Main echo eviroments KEY1
[For Hellow World/Hello] β Run Main echo eviroments KEY2
[For Hellow World/Hello] π³ docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/3] user= workdir=
| ***
[For Hellow World/Hello] β Success - Main echo eviroments KEY2
[For Hellow World/Hello] β Run Main echo event head commit message1
[For Hellow World/Hello] π³ docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/4] user= workdir=
| c1b87d90e87e77e38cebeaa08dd9e0f0f69302d3
[For Hellow World/Hello] β Success - Main echo event head commit message1
[For Hellow World/Hello] β Run Main echo event head commit message2
[For Hellow World/Hello] π³ docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/5] user= workdir=
| c1b87d9
[For Hellow World/Hello] β Success - Main echo event head commit message2
[For Hellow World/Hello] β Run Main echo github reference1
[For Hellow World/Hello] π³ docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/6] user= workdir=
| refs/heads/main
[For Hellow World/Hello] β Success - Main echo github reference1
[For Hellow World/Hello] β Run Main echo github reference2
[For Hellow World/Hello] π³ docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/7] user= workdir=
| refs/heads/main
[For Hellow World/Hello] β Success - Main echo github reference2
[For Hellow World/Hello] π Job succeeded
```**`--secret-file`**: [github] - [setting] - [secrets]μ λ±λ‘λ νκ²½λ³μ μν μ νλ€.
* workflow list
```bash
$ act -lStage Job ID Job name Workflow name Workflow file Events
0 build Hello For Hellow World test.yaml push
```