Skip to content

Commit

Permalink
fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
outductor committed Sep 15, 2024
1 parent 92ca289 commit b464db5
Showing 1 changed file with 11 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,22 +57,21 @@ spec:
- name: target-branch
- name: tag-name
templates:
- name: main
steps:
- - name: download-seichiassist
template: download-seichiassist
- - name: upload-seichiassist
template: upload-seichiassist
- name: download-seichiassist
steps:
- - name: download
template: download-release
- - name: upload
template: upload-artifact
- name: download-release
container:
image: alpine:3.20
volumeMounts:
- name: work
mountPath: /work
command:
- "wget"
- "https://github.com/GiganticMinecraft/SeichiAssist/releases/download/{{ workflow.parameters.tag-name }}/SeichiAssist.jar"
- name: upload-seichiassist
command: [sh, -c]
args: ["wget https://github.com/GiganticMinecraft/SeichiAssist/releases/download/{{ workflow.parameters.tag-name }}/SeichiAssist.jar"]
- name: upload-artifact
container:
image: minio/mc:latest
env:
Expand All @@ -89,19 +88,8 @@ spec:
volumeMounts:
- name: work
mountPath: /work
command:
- "mc"
- "alias"
- "set"
- "myminio"
- "seichi-private-plugin-blackhole-minio.minio:9000"
- "$minio-access-key"
- "$minio-access-secret"
- "&&"
- "mc"
- "cp"
- "SeichiAssist.jar"
- "myminio/seichiassist/{{ workflow.parameters.target-branch }}/SeichiAssist.jar"
command: [sh, -c]
args: ["mc alias set myminio seichi-private-plugin-blackhole-minio.minio:9000 $minio-access-key $minio-access-secret && mc cp SeichiAssist.jar myminio/seichiassist/{{ workflow.parameters.target-branch }}/SeichiAssist.jar"]
parameters:
- src:
dependencyName: from-seichiassist-downloader
Expand Down

0 comments on commit b464db5

Please sign in to comment.