mirror of
https://github.com/indetectables-net/toolkit.git
synced 2026-10-28 19:40:47 +00:00
Add release code to workflows
This commit is contained in:
1 parent
19bf82d02a
commit
893732a6d8
2 files changed
+26
-1
No files matched your search
@@ -109,10 +109,22 @@ jobs:
|
||||
.\generate-checksums.ps1 -Directory "${{ github.workspace }}" -FilePattern "*.exe" -NoRecurse -OutputFile "${{ github.workspace }}/extras_installer_checksums.txt"
|
||||
|
||||
- name: Upload Setup as Artifact
|
||||
if: github.event_name != 'release'
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: setup-installer-artifact
|
||||
name: extras-setup-installer-artifact
|
||||
path: |
|
||||
${{ github.workspace }}/*.exe
|
||||
${{ github.workspace }}/extras_tools_checksums.txt
|
||||
${{ github.workspace }}/extras_installer_checksums.txt
|
||||
|
||||
- name: Upload Setup as Artifact to Release
|
||||
if: github.event_name == 'release'
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: |
|
||||
${{ github.workspace }}/*.exe
|
||||
${{ github.workspace }}/extras_tools_checksums.txt
|
||||
${{ github.workspace }}/extras_installer_checksums.txt
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -77,6 +77,7 @@ jobs:
|
||||
.\generate-checksums.ps1 -Directory "${{ github.workspace }}" -FilePattern "*.exe" -NoRecurse -OutputFile "${{ github.workspace }}/installer_checksums.txt"
|
||||
|
||||
- name: Upload Setup as Artifact
|
||||
if: github.event_name != 'release'
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: setup-installer-artifact
|
||||
@@ -84,3 +85,15 @@ jobs:
|
||||
${{ github.workspace }}/*.exe
|
||||
${{ github.workspace }}/tools_checksums.txt
|
||||
${{ github.workspace }}/installer_checksums.txt
|
||||
|
||||
- name: Upload Setup as Artifact to Release
|
||||
if: github.event_name == 'release'
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: |
|
||||
${{ github.workspace }}/*.exe
|
||||
${{ github.workspace }}/tools_checksums.txt
|
||||
${{ github.workspace }}/installer_checksums.txt
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in new issue
Block a user