File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Downgraded Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ jobs :
9+ downgrade_release :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - uses : shivammathur/setup-php@v2
16+ with :
17+ php-version : 8.5
18+ coverage : none
19+
20+ - uses : ramsey/composer-install@v2
21+
22+ - run : composer run rector:downgrade
23+ shell : bash
24+
25+ - run : |
26+ git config user.email "aggelosbellos7@gmail.com"
27+ git config user.name "Aggelos Bellos"
28+
29+ - name : " Tag Downgraded Code"
30+ run : |
31+ # separate a "git add" to add untracked (new) files too
32+ git add --all
33+ git commit -m "Release PHP 7.4 downgraded"
34+
35+ # force push tag, so there is only 1 version
36+ git tag "${GITHUB_REF#refs/tags/}" --force
37+ git push origin "${GITHUB_REF#refs/tags/}" --force
You can’t perform that action at this time.
0 commit comments