45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
|
steps:
|
||
|
- name: Compile gmqcc (amd64/tag)
|
||
|
image: alpine
|
||
|
commands:
|
||
|
- chmod +x ci-dependencies.sh
|
||
|
- ./ci-dependencies.sh
|
||
|
- cd gmqcc
|
||
|
- make
|
||
|
- cd ..
|
||
|
|
||
|
- name: Compile SpecialSauce (amd64/tag)
|
||
|
image: alpine
|
||
|
commands:
|
||
|
- chmod +x ci-dependencies.sh
|
||
|
- chmod +x build.sh
|
||
|
- ./ci-dependencies.sh
|
||
|
- bash build.sh
|
||
|
|
||
|
- name: Upload Artifacts (amd64/tag)
|
||
|
image: ocram85/plugin-gitea-package:latest
|
||
|
settings:
|
||
|
user:
|
||
|
from_secret: reg-user
|
||
|
password:
|
||
|
from_secret: reg-pass
|
||
|
owner: "amogus.tv"
|
||
|
package_name: "amogusspecialsauce"
|
||
|
package_version: "${CI_COMMIT_TAG}"
|
||
|
file_source: "./dist/compiled-${CI_COMMIT_TAG}.zip"
|
||
|
file_name: "compiled-${CI_COMMIT_TAG}.zip"
|
||
|
update: "true"
|
||
|
|
||
|
- name: "Release Tagges"
|
||
|
image: woodpeckerci/plugin-release
|
||
|
settings:
|
||
|
files:
|
||
|
- './dist/compiled-${CI_COMMIT_TAG}.zip'
|
||
|
checksum: sha256
|
||
|
api_key:
|
||
|
from_secret: ACCESS_TOKEN
|
||
|
|
||
|
when:
|
||
|
- event: [deployment, release, tag, cron]
|
||
|
branch:
|
||
|
- ${CI_REPO_DEFAULT_BRANCH}
|