Update artifact.yml #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Package Script Artifact | |
on: | |
push: | |
workflow_dispatch: # Allows manual triggering | |
jobs: | |
create-artifact: | |
runs-on: macos-latest # Using macOS since the script uses macOS-specific sed | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Generate package script | |
run: | | |
chmod +x Scripts/artifact.sh | |
./Scripts/artifact.sh package.sh | |
- name: Upload package script | |
uses: actions/upload-artifact@v4 | |
with: | |
name: package.sh | |
path: package.sh | |
retention-days: 30 # Artifacts will be kept for 30 days |