Skip to content

Commit baba1c7

Browse files
committed
Artifacts
1 parent 041aa74 commit baba1c7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,22 @@ jobs:
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.PAT }} # Pass PAT as GITHUB_TOKEN to the script
4343

44+
- name: Upload job outputs as artifact
45+
uses: actions/upload-artifact@v4
46+
with:
47+
name: job-output-artifact
48+
path: ./data
49+
4450
release:
4551
needs: build
4652
runs-on: ubuntu-latest
4753
steps:
54+
- name: Download artifact from build job
55+
uses: actions/download-artifact@v4
56+
with:
57+
name: job-output-artifact
58+
path: ./data # Download into a specific directory
59+
4860
- name: Get current date for release name
4961
id: get_date
5062
run: echo "RELEASE_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV # Set environment variable with current date and time

0 commit comments

Comments
 (0)