ci: use github contexts instead of github variables

This commit is contained in:
Tieu Long committed 2026-04-30 01:48:47 +07:00
1 parent f246791a29
commit 235ae9f0a6
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -46,7 +46,7 @@ jobs:
id: check
run: |
# Third time's the charm
if [ "$GITHUB_RUN_ATTEMPT" -ge 3 ]; then
if [ ${{ github.run_attempt }} -ge 3 ]; then
echo "_build=true" >> $GITHUB_OUTPUT
exit 0
fi
@@ -64,7 +64,7 @@ jobs:
done
if [ "$FOUND" = "false" ]; then
if [ "$GITHUB_RUN_ATTEMPT" -eq 1 ]; then
if [ ${{ github.run_attempt }} -eq 1 ]; then
echo "## Before you build — check if someone already did it for you :point_down:" >> $GITHUB_STEP_SUMMARY
echo "Browse the **[Recent Forks List](https://github.com/LongQT-sea/macos-iso-builder/releases/latest)** — someone may have already built the macOS version you need." >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
+2 -2
View File
@@ -38,7 +38,7 @@ jobs:
id: check
run: |
# Third time's the charm
if [ "$GITHUB_RUN_ATTEMPT" -ge 3 ]; then
if [ ${{ github.run_attempt }} -ge 3 ]; then
echo "_build=true" >> $GITHUB_OUTPUT
exit 0
fi
@@ -56,7 +56,7 @@ jobs:
done
if [ "$FOUND" = "false" ]; then
if [ "$GITHUB_RUN_ATTEMPT" -eq 1 ]; then
if [ ${{ github.run_attempt }} -eq 1 ]; then
echo "## Before you build — check if someone already did it for you :point_down:" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "Browse the **[Recent Forks List](https://github.com/LongQT-sea/macos-iso-builder)** — someone may have already built the macOS version you need." >> $GITHUB_STEP_SUMMARY