Skip to content

Commit

Permalink
fix git obtian tag
Browse files Browse the repository at this point in the history
  • Loading branch information
heliannuuthus committed May 10, 2024
1 parent c903eed commit a3b8201
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 32 deletions.
14 changes: 6 additions & 8 deletions templates/golang/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {},
Expand All @@ -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/"]
}
}
Expand Down
8 changes: 1 addition & 7 deletions templates/gradle/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,7 @@
"security": {},
"build": {
"upload": {
"name": "target",
"paths": ["${{ inputs.workdir }}build/"]
}
},
"containerize": {
"download": {
"name": "target",
"name": "targets",
"paths": ["${{ inputs.workdir }}build/"]
}
}
Expand Down
10 changes: 0 additions & 10 deletions templates/rust-tauri/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
}
}
2 changes: 2 additions & 0 deletions templates/rust-tauri/extra.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ defaults:
working-directory: ${{ inputs.workdir }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
{% endraw -%}
{%- endset %}

Expand Down
8 changes: 1 addition & 7 deletions templates/rust/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/"]
}
}
}

0 comments on commit a3b8201

Please sign in to comment.