This commit is contained in:
parent
4c003c5ebd
commit
483b1f092c
1 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@ steps:
|
|||
|
||||
# Create the release directory
|
||||
- mkdir -p release
|
||||
- cp build/your_program release/
|
||||
- cp build/main release/
|
||||
|
||||
# Step 2: Cache Dependencies to Speed Up Builds
|
||||
- name: cache
|
||||
|
@ -36,10 +36,10 @@ steps:
|
|||
- name: release
|
||||
image: woodpeckerci/release:latest
|
||||
settings:
|
||||
api_key: ${GITHUB_API_KEY} # Set your API key (GitHub, GitLab, etc.)
|
||||
target: 'your_project_name' # Replace with your project's name
|
||||
api_key: ${GITEA_TOKEN} # Set your API key (GitHub, GitLab, etc.)
|
||||
target: 'MarioDB' # Replace with your project's name
|
||||
files:
|
||||
- release/your_program # Replace with your actual binary name
|
||||
- release/main # Replace with your actual binary name
|
||||
|
||||
when:
|
||||
branch:
|
||||
|
|
Loading…
Add table
Reference in a new issue