init auto release project
This commit is contained in:
parent
8e4b4cc908
commit
664013e856
@ -25,6 +25,7 @@ runs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ inputs.gitea-token }}
|
token: ${{ inputs.gitea-token }}
|
||||||
- uses: docker/metadata-action@v5
|
- uses: docker/metadata-action@v5
|
||||||
|
if: ${{ inputs.release != 'true' }}
|
||||||
id: meta
|
id: meta
|
||||||
with:
|
with:
|
||||||
images: ${{ inputs.registry }}/${{ gitea.repository }}
|
images: ${{ inputs.registry }}/${{ gitea.repository }}
|
||||||
|
2
release/dist/index.js
vendored
2
release/dist/index.js
vendored
@ -33281,6 +33281,8 @@ async function run() {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
console.log(`🎉 Release ready at ${response.html_url}`);
|
console.log(`🎉 Release ready at ${response.html_url}`);
|
||||||
|
|
||||||
|
_actions_core__WEBPACK_IMPORTED_MODULE_0__.setOutput("version", newVersion);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
_actions_core__WEBPACK_IMPORTED_MODULE_0__.setFailed(error.message);
|
_actions_core__WEBPACK_IMPORTED_MODULE_0__.setFailed(error.message);
|
||||||
|
@ -36,6 +36,8 @@ async function run() {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
console.log(`🎉 Release ready at ${response.html_url}`);
|
console.log(`🎉 Release ready at ${response.html_url}`);
|
||||||
|
|
||||||
|
core.setOutput("version", newVersion);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
core.setFailed(error.message);
|
core.setFailed(error.message);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user