mirror of
https://github.com/indetectables-net/toolkit.git
synced 2025-06-21 02:10:22 +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
|
||||
const inputTag = '${{ github.event.inputs.tag }}';
|
||||
if (inputTag) {
|
||||
// duh
|
||||
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
|
||||
const latest = await github.rest.repos.getLatestRelease({
|
||||
owner: context.repo.owner,
|
||||
@ -102,6 +96,3 @@ jobs:
|
||||
files: |
|
||||
artifacts/*.exe.sig
|
||||
artifacts/*.exe.pem
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user