Compare commits

..

3 Commits

Author SHA1 Message Date
542e58c3f3 Merge pull request 'fix change selector in workflow' (#2) from sieve07 into master
All checks were successful
MVS Upload & Execute / upload-and-run (push) Successful in 17s
Reviewed-on: #2
2025-10-19 15:12:14 +00:00
0368ff81cc fix change selector in workflow
All checks were successful
MVS Upload & Execute / upload-and-run (pull_request) Successful in 18s
2025-10-19 16:00:02 +01:00
c2662020b0 fix change selector in workflow
Some checks failed
MVS Upload & Execute / upload-and-run (push) Failing after 12s
2025-10-19 15:57:44 +01:00
3 changed files with 8 additions and 5 deletions

View File

@ -11,6 +11,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Full history for git diff
- name: Prepare environment
id: setup
@ -42,8 +44,9 @@ jobs:
# Fallback to all .c/.bas files if no changes or no previous commit
if [ -z "$CHANGED_FILES" ]; then
echo "=== Debug: No changes found; running fallback find ==="
CHANGED_FILES=$(find . -type f \( -name "*.c" -o -name "*.bas" \) | head -1)
echo "Fallback files: '${CHANGED_FILES}'"
# Find newest .c/.bas by modification time (sort -nr on %T@ timestamp)
CHANGED_FILES=$(find . -type f \( -name "*.c" -o -name "*.bas" \) -printf '%T@ %p\n' 2>/dev/null | sort -nr | cut -d' ' -f2- | head -1)
echo "Fallback files (newest first): '${CHANGED_FILES}'"
echo "=== Debug: Fallback complete ==="
fi
@ -75,4 +78,4 @@ jobs:
- name: Report Status
run: |
echo "Upload/Compile complete! Check TK5 JES for JOB ${{ steps.files.outputs.member }} output."
echo "Upload/Compile complete! Check TK5 JES for JOB ${{ steps.files.outputs.member }} output."

View File

@ -1,6 +1,6 @@
//SIEVE06 JOB (GCC),'Sieve 6 Example',
//SIEVE07 JOB (GCC),'Sieve 7 Example',
// NOTIFY=@05054,CLASS=A,MSGCLASS=H,
// MSGLEVEL=(1,1),REGION=4M,TIME=1440
//* Compile Step
//STEP1 EXEC GCCCG,INFILE='@05054.SRCLIB.C(SIEVE06)'
//STEP1 EXEC GCCCG,INFILE='@05054.SRCLIB.C(SIEVE07)'
//