mirror of
https://github.com/greenshot/greenshot
synced 2025-08-24 07:06:23 -07:00
Add to dos
This commit is contained in:
parent
6bfbe8f2b3
commit
4f714d7d57
1 changed files with 7 additions and 41 deletions
48
.github/workflows/release.yml
vendored
48
.github/workflows/release.yml
vendored
|
@ -78,15 +78,12 @@ jobs:
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Step 2: Download artifacts (drop)
|
|
||||||
- name: Download build artifacts
|
- name: Download build artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: drop # Name of the artifact uploaded in previous steps
|
name: drop # Name of the artifact uploaded in previous steps
|
||||||
path: drop # Local folder where artifacts are downloaded
|
path: drop # Local folder where artifacts are downloaded
|
||||||
|
|
||||||
|
|
||||||
# Step 3: Create GitHub Release using softprops/gh-release
|
|
||||||
- name: Create GitHub Release
|
- name: Create GitHub Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
|
@ -97,42 +94,11 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
||||||
# Step 3: Create GitHub Release
|
# TODOs
|
||||||
# - name: Create GitHub Release
|
# * code signing (setup.iss / innosetup)
|
||||||
# id: create_release
|
# * name of release
|
||||||
# uses: actions/create-release@v1
|
# * version tag
|
||||||
# env:
|
# * change log (?) (release-drafter action)
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
# * update gh-pages automatically (?)
|
||||||
# with:
|
|
||||||
# tag_name: v${{ github.run_number }}
|
|
||||||
# release_name: "Greenshot ${{ github.run_number }} unstable"
|
|
||||||
# draft: true
|
|
||||||
# prerelease: true
|
|
||||||
|
|
||||||
# # Step 4: Upload Release Assets
|
|
||||||
# - name: Upload Release Assets
|
|
||||||
# uses: actions/upload-release-asset@v1
|
|
||||||
# with:
|
|
||||||
# upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
# asset_path: "*"
|
|
||||||
# asset_name: Greenshot-${{ github.run_number }}.exe
|
|
||||||
# asset_content_type: application/octet-stream
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# steps:
|
|
||||||
# - name: Download Artifact
|
|
||||||
# uses: actions/download-artifact@v4
|
|
||||||
# with:
|
|
||||||
# name: drop
|
|
||||||
#
|
|
||||||
# - name: Create GitHub Release
|
|
||||||
# uses: actions/create-release@v1
|
|
||||||
# env:
|
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
# with:
|
|
||||||
# tag_name: v${{ github.run_number }}
|
|
||||||
# release_name: "Greenshot ${{ github.run_number }} unstable"
|
|
||||||
# draft: true
|
|
||||||
# prerelease: true
|
|
||||||
# files: ${{ github.workspace }}/drop/*.exe
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue