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
|
# Create the release directory
|
||||||
- mkdir -p release
|
- mkdir -p release
|
||||||
- cp build/your_program release/
|
- cp build/main release/
|
||||||
|
|
||||||
# Step 2: Cache Dependencies to Speed Up Builds
|
# Step 2: Cache Dependencies to Speed Up Builds
|
||||||
- name: cache
|
- name: cache
|
||||||
|
@ -36,10 +36,10 @@ steps:
|
||||||
- name: release
|
- name: release
|
||||||
image: woodpeckerci/release:latest
|
image: woodpeckerci/release:latest
|
||||||
settings:
|
settings:
|
||||||
api_key: ${GITHUB_API_KEY} # Set your API key (GitHub, GitLab, etc.)
|
api_key: ${GITEA_TOKEN} # Set your API key (GitHub, GitLab, etc.)
|
||||||
target: 'your_project_name' # Replace with your project's name
|
target: 'MarioDB' # Replace with your project's name
|
||||||
files:
|
files:
|
||||||
- release/your_program # Replace with your actual binary name
|
- release/main # Replace with your actual binary name
|
||||||
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
|
Loading…
Add table
Reference in a new issue