Skip to content

Commit 027ecc0

Browse files
authored
Merge pull request #56 from psadi/feature/ci
ci: auto commit tip tag
2 parents db389f0 + c4a0cab commit 027ecc0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ jobs:
4040
with:
4141
persist-credentials: false
4242

43+
- name: Tip Tag
44+
if: ${{ github.event_name == 'schedule' && github.ref_name == 'main' }}
45+
run: |
46+
git config user.name "github-actions[bot]"
47+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
48+
git tag -fa tip -m "Latest Continuous Release" ${GITHUB_SHA}
49+
git push --force origin tip
50+
4351
- name: Cache dependencies
4452
id: cache-ghostty
4553
uses: actions/cache@v4
@@ -94,14 +102,6 @@ jobs:
94102
overwrite: true
95103
file_glob: true
96104

97-
- name: Tip Tag
98-
if: ${{ github.event_name == 'schedule' && github.ref_name == 'main' }}
99-
run: |
100-
git config user.name "github-actions[bot]"
101-
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
102-
git tag -fa tip -m "Latest Continuous Release" ${GITHUB_SHA}
103-
git push --force origin tip
104-
105105
- name: Ghostty Tip ("Nightly")
106106
if: ${{ github.event_name == 'schedule' && github.ref_name == 'main' }}
107107
uses: softprops/[email protected]

0 commit comments

Comments
 (0)