Skip to content

Commit 4ee84b6

Browse files
updated Node.js 24
1 parent dfa25b2 commit 4ee84b6

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/build_preprint.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [main]
66

77
env:
8+
# Opting into Node.js 24 as per GitHub's 2025 deprecation roadmap
89
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
910

1011
jobs:
@@ -29,7 +30,6 @@ jobs:
2930
# Ensure we are reading the correct path
3031
file_path = 'paper/paper.md'
3132
if not os.path.exists(file_path):
32-
# Fallback for different repo structures
3333
file_path = 'paper.md'
3434
3535
with open(file_path, 'r') as f:
@@ -80,7 +80,6 @@ jobs:
8080
email = corres[0]['email']
8181
lines.append(rf'\small $^*$Corresponding author: \href{{mailto:{email}}}{{{email}}}\\[0.2em]')
8282
83-
# Zenodo DOI Integration
8483
lines.append(r'\small DOI: \href{https://doi.org/10.5281/zenodo.18377216}{10.5281/zenodo.18377216}\\[0.2em]')
8584
lines.append(r'\small ' + str(fm.get('date','')))
8685
lines.append(r'\end{center}')
@@ -115,7 +114,7 @@ jobs:
115114
\pagestyle{fancy}
116115
\fancyhf{}
117116
\fancyhead[L]{\small \textbf{\textcolor{gray}{PREPRINT -- NOT PEER REVIEWED}}}
118-
\fancyhead[R]{\small \textit{PICA: Advanced Transport Automation}}
117+
\fancyhead[R]{\small \textit{PICA: Python-based Instrument Control and Automation}}
119118
\fancyfoot[C]{\thepage}
120119
\renewcommand{\headrulewidth}{0.4pt}
121120
@@ -124,12 +123,10 @@ jobs:
124123
125124
- name: Generate Publication-Ready PDF
126125
run: |
127-
# Detect directory
128126
TARGET_DIR="paper"
129127
if [ ! -d "$TARGET_DIR" ]; then TARGET_DIR="."; fi
130128
cd $TARGET_DIR
131129
132-
# Dynamically filter out the AI usage disclosure section into a temporary file
133130
awk '/^# AI usage disclosure/{skip=1} /^# / && !/^# AI usage disclosure/{skip=0} !skip' paper.md > paper_cleaned.md
134131
135132
pandoc paper_cleaned.md -o paper.pdf \
@@ -141,13 +138,12 @@ jobs:
141138
--include-before-body=/tmp/title_block.tex \
142139
--variable=link-citations=true
143140
144-
# Clean up the temporary file
145141
rm paper_cleaned.md
146142
147143
- name: Upload Artifact
148-
uses: actions/upload-artifact@v4
144+
uses: actions/upload-artifact@v6
149145
with:
150146
name: professional-preprint
151147
path: |
152-
paper/paper.pdf
153-
paper.pdf
148+
paper/paper.pdf
149+
paper.pdf

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ authors:
1111
affiliation: "UGC-DAE Consortium for Scientific Research, Mumbai Centre, India; Savitribai Phule Pune University, Pune, India"
1212
email: "sudipm@csr.res.in"
1313
title: "PICA: Advanced High-Precision Transport Measurement Automation with Python"
14-
version: 1.0.1
14+
version: 1.0.3
1515
doi: 10.5281/zenodo.18377217
1616
date-released: 2026-01-26
1717
url: "https://github.com/prathameshnium/PICA-Python-Instrument-Control-and-Automation"

0 commit comments

Comments
 (0)