Skip to content

Commit

Permalink
trying to get artifacts right
Browse files Browse the repository at this point in the history
  • Loading branch information
NSoiffer committed Nov 6, 2024
1 parent 2359e19 commit 46bcf51
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/automaticRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,13 @@ jobs:
filename: 'Rules.zip'
directory: 'Example'
path: 'Rules'
- name: Upload Rules.zip
uses: actions/upload-artifact@v4
with:
name: 'Rules.zip'
path: 'Example/Rules.zip'
compression-level: 0
retention-days: 1
- name: Remove Rules dir in prep for uploading test and .h files
- name: Remove Rules dir in prep for uploading test, .h files, and Rules.zip
run: |
rm -r Example/Rules
ls -l Example
- name: Upload Example Dir (.h files, test files)
uses: actions/upload-artifact@v4
with:
name: headers-and-tests
name: rules-headers-tests
path: Example
compression-level: 0
retention-days: 1
Expand Down Expand Up @@ -154,14 +146,10 @@ jobs:
uses: actions/checkout@v3

# download the previous build artifacts and put them in their proper places
- name: Download Rules.zip
uses: actions/download-artifact@v4
with:
name: Rules.zip
- name: Download 2 header files and 2 test files
- name: Download Rules.zip, 2 header files, and 2 test files
uses: actions/download-artifact@v4
with:
name: headers-and-tests
name: rules-headers-tests
- name: Download 32 bit build
uses: actions/download-artifact@v4
with:
Expand All @@ -184,4 +172,5 @@ jobs:
files: |
libmathcat*.zip
Rules.zip
Example
*.h
test.*

0 comments on commit 46bcf51

Please sign in to comment.