-
Notifications
You must be signed in to change notification settings - Fork 0
130 lines (130 loc) · 3.96 KB
/
git-push.yml
File metadata and controls
130 lines (130 loc) · 3.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
name: Git Push
run-name: CI - Git Push
on:
push:
branches:
- main
- stable
- next
- testing
- staging
- edge
- experimental
jobs:
develop_on:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
env:
TERM: xterm-256color
ROBOT_NAME: "Github Actions Autonomous Runner System"
ROBOT_EMAIL: "github.actions.runner@github.com"
REPO_NAME: ${{ github.repository }}
REPO_URL: "${{ github.server_url }}/${{ github.repository }}"
REPO_COMMIT: "${{ github.sha }}"
CONTAINER_USERNAME: ${{ secrets.CONTAINER_USERNAME }}
CONTAINER_PASSWORD: ${{ secrets.CONTAINER_PASSWORD }}
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
PROJECT_SIMULATE_RUN: true
PROJECT_ROBOT_RUN: true
PROJECT_ROBOT_GITHUB_TOKEN: "${{ github.token }}"
steps:
- name: Git - INIT
id: git_init
run: |
git config --global user.email "${{ env.ROBOT_NAME }}"
git config --global user.name "${{ env.ROBOT_EMAIL }}"
git config --global advice.detachedHead false
git clone --depth=1 ${{ env.REPO_URL }} .
git fetch origin ${{ env.REPO_COMMIT }}
git checkout FETCH_HEAD
- name: AutomataCI - PURGE
id: automataci_ci_purge
run: |
./automataCI/ci.sh.ps1 purge
- name: AutomataCI - CLEAN
id: automataci_ci_clean
run: |
./automataCI/ci.sh.ps1 clean
- name: AutomataCI - ENVIRONMENT
id: automataci_ci_env
run: |
./automataCI/ci.sh.ps1 env
- name: AutomataCI - SETUP
id: automataci_ci_setup
run: |
./automataCI/ci.sh.ps1 setup
- name: AutomataCI - PREPARE
id: automataci_ci_prepare
run: |
./automataCI/ci.sh.ps1 prepare
- name: AutomataCI - START
id: automataci_ci_start
run: |
./automataCI/ci.sh.ps1 start
- name: AutomataCI - TEST
id: automataci_ci_test
run: |
./automataCI/ci.sh.ps1 test
- name: AutomataCI - MATERIALIZE
id: automataci_ci_materialize
run: |
./automataCI/ci.sh.ps1 materialize
- name: AutomataCI - BUILD
id: automataci_ci_build
run: |
./automataCI/ci.sh.ps1 build
- name: AutomataCI - NOTARIZE
id: automataci_ci_notarize
run: |
./automataCI/ci.sh.ps1 notarize
- name: AutomataCI - PACKAGE
id: automataci_ci_package
run: |
./automataCI/ci.sh.ps1 package
- name: AutomataCI - RELEASE
id: automataci_ci_release
run: |
./automataCI/ci.sh.ps1 release
- name: AutomataCI - STOP
id: automataci_ci_stop
run: |
./automataCI/ci.sh.ps1 stop
- name: AutomataCI - DEPLOY
id: automataci_ci_deploy
run: |
./automataCI/ci.sh.ps1 deploy
- name: AutomataCI - COMPOSE
id: automataci_ci_compose
run: |
./automataCI/ci.sh.ps1 compose
- name: AutomataCI - PUBLISH
id: automataci_ci_publish
run: |
./automataCI/ci.sh.ps1 publish
- name: AutomataCI - ARCHIVE
id: automataci_ci_archive
if: always()
run: |
./automataCI/ci.sh.ps1 archive
- name: GITHUB ACTIONS - Upload Artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.os }}
if-no-files-found: ignore
compression-level: 0
path: |
artifact-build_*
- name: GITHUB ACTIONS - Upload Artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: workspace-${{ matrix.os }}
if-no-files-found: ignore
compression-level: 0
path: |
artifact-workspace_*