File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+ workflow_dispatch :
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v3
16+
17+ - name : Run a one-line script
18+ run : echo Hello, world!
19+
20+ - name : Run a multi-line script
21+ run : |
22+ echo Add other actions to build,
23+ echo test, and deploy your project.
24+
25+ - name : Get commit hash
26+ id : commit_hash
27+ run : echo "::set-output name=hash::$(git rev-parse --short HEAD)"
28+
29+ - name : Compress files into a zip archive
30+ run : zip -r SOMEDATACOMPATS_${{ steps.commit_hash.outputs.hash }}.zip .
31+
32+ - name : Publish zip file
33+ run : |
34+ # Aquí puedes agregar los comandos o acciones para publicar el archivo zip
35+ echo "Publishing SOMEDATACOMPATS_${{ steps.commit_hash.outputs.hash }}.zip"
You can’t perform that action at this time.
0 commit comments