diff --git a/templates/golang/data.json b/templates/golang/data.json index b201a67..0667db1 100644 --- a/templates/golang/data.json +++ b/templates/golang/data.json @@ -32,7 +32,11 @@ ], "secrets": [], "outputs": [ - { "name": "version", "desc": "major version", "value": "jobs.build.outputs.version" } + { + "name": "version", + "desc": "major version", + "value": "jobs.build.outputs.version" + } ] }, "lint": {}, @@ -48,13 +52,7 @@ "paths": ["${{ inputs.workdir }}build/gosec-report.json"] }, "upload": { - "name": "target", - "paths": ["${{ inputs.workdir }}build/"] - } - }, - "containerize": { - "download": { - "name": "target", + "name": "targets", "paths": ["${{ inputs.workdir }}build/"] } } diff --git a/templates/gradle/data.json b/templates/gradle/data.json index 14a396e..ccc1c18 100644 --- a/templates/gradle/data.json +++ b/templates/gradle/data.json @@ -22,13 +22,7 @@ "security": {}, "build": { "upload": { - "name": "target", - "paths": ["${{ inputs.workdir }}build/"] - } - }, - "containerize": { - "download": { - "name": "target", + "name": "targets", "paths": ["${{ inputs.workdir }}build/"] } } diff --git a/templates/rust-tauri/data.json b/templates/rust-tauri/data.json index f87e843..e15c5ec 100644 --- a/templates/rust-tauri/data.json +++ b/templates/rust-tauri/data.json @@ -51,15 +51,5 @@ ], "version": "rust-tauri-ci" } - }, - "build": { - "upload": { - "name": "target", - "paths": [ - "${{ inputs.workdir }}/src-tauri/target/release/${{ steps.environments.outputs.project }}", - "${{ inputs.workdir }}/src-tauri/target/default/report.xml", - "${{ inputs.workdir }}/src-tauri/target/cobertura.xml" - ] - } } } diff --git a/templates/rust-tauri/extra.j2 b/templates/rust-tauri/extra.j2 index d088aba..1bbf076 100644 --- a/templates/rust-tauri/extra.j2 +++ b/templates/rust-tauri/extra.j2 @@ -21,6 +21,8 @@ defaults: working-directory: ${{ inputs.workdir }} steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 {% endraw -%} {%- endset %} diff --git a/templates/rust/data.json b/templates/rust/data.json index a7ad9d7..bc770d0 100644 --- a/templates/rust/data.json +++ b/templates/rust/data.json @@ -22,18 +22,12 @@ "security": {}, "build": { "upload": { - "name": "target", + "name": "targets", "paths": [ "${{ inputs.workdir }}target/release/${{ steps.environments.outputs.project }}", "${{ inputs.workdir }}target/default/report.xml", "${{ inputs.workdir }}target/cobertura.xml" ] } - }, - "containerize": { - "download": { - "name": "target", - "paths": ["${{ inputs.workdir }}target/"] - } } }