mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 22:13: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
|
||||
|
||||
steps:
|
||||
# Step 2: Download artifacts (drop)
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: drop # Name of the artifact uploaded in previous steps
|
||||
path: drop # Local folder where artifacts are downloaded
|
||||
|
||||
|
||||
# Step 3: Create GitHub Release using softprops/gh-release
|
||||
- name: Create GitHub Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
|
@ -97,42 +94,11 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
# Step 3: Create GitHub Release
|
||||
# - name: Create GitHub Release
|
||||
# id: create_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
|
||||
# TODOs
|
||||
# * code signing (setup.iss / innosetup)
|
||||
# * name of release
|
||||
# * version tag
|
||||
# * change log (?) (release-drafter action)
|
||||
# * update gh-pages automatically (?)
|
||||
|
||||
# # 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