mirror of
https://github.com/indetectables-net/toolkit.git
synced 2025-06-21 18:30:51 +00:00
Pipelines changes
This commit is contained in:
parent
b8147fccdb
commit
63d39eb047
9
.github/workflows/sign.yml
vendored
9
.github/workflows/sign.yml
vendored
@ -32,15 +32,9 @@ jobs:
|
|||||||
// grab tag from user input
|
// grab tag from user input
|
||||||
const inputTag = '${{ github.event.inputs.tag }}';
|
const inputTag = '${{ github.event.inputs.tag }}';
|
||||||
if (inputTag) {
|
if (inputTag) {
|
||||||
// duh
|
|
||||||
return inputTag;
|
return inputTag;
|
||||||
}
|
}
|
||||||
|
|
||||||
// grab tag from release
|
|
||||||
if (context.eventName === 'workflow_run') {
|
|
||||||
return context.payload.workflow_run.event.release.tag_name;
|
|
||||||
}
|
|
||||||
|
|
||||||
// grab tag from last release
|
// grab tag from last release
|
||||||
const latest = await github.rest.repos.getLatestRelease({
|
const latest = await github.rest.repos.getLatestRelease({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
@ -102,6 +96,3 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
artifacts/*.exe.sig
|
artifacts/*.exe.sig
|
||||||
artifacts/*.exe.pem
|
artifacts/*.exe.pem
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user