File tree Expand file tree Collapse file tree 3 files changed +37
-0
lines changed
Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 4141 run : |
4242 python setup.py
4343
44+ - name : create release
45+ id : create_release
46+ # uses: actions/create-release@v1.1.4
47+ uses : ncipollo/release-action@v1.14.0
48+ # env:
49+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+ with :
51+ tag : ${{ github.ref_name }}
52+ # release_name: ${{ github.event.head_commit.message }}
53+ name : Prerelease ${{ github.ref_name }}
54+ # overwrite: true
55+ body : |
56+ Prerelease ${{ github.ref_name }}
57+ draft : true
58+ prerelease : true
59+ generateReleaseNotes : true
60+ # - name: Find Release Asset
61+ # id: find_asset
62+ # run: echo "asset=$(find dist -type f -name '*.exe')" >> $GITHUB_ENV
63+ - name : Install zip and Compress Directory
64+ run : |
65+ Compress-Archive -Path dist\* -DestinationPath dist.zip
66+ shell : pwsh
67+ - name : Upload Release Asset
68+ # id: upload-release-asset
69+ # uses: softprops/action-gh-release@v2.1.0
70+ uses : actions/upload-release-asset@v1.0.2
71+ with :
72+ upload_url : ${{ steps.create_release.outputs.upload_url }}
73+ # #asset_path: dist/MicrosoftCopilotClickerPygame-Windows-amd64.exe
74+ # #asset_path: ${{ env.asset }}
75+ asset_path : dist.zip
76+ asset_name : MicrosoftCopilotClickerPygame-MacOS-ARM64.zip
77+ asset_content_type : application/zip
78+ # #token: ${{ secrets.variables.MY_PERSONAL_ACCESS_TOKEN }}
79+
4480 - name : Upload build artifacts
4581 uses : actions/upload-artifact@v4
4682 with :
Original file line number Diff line number Diff line change 44# (YT) Python Simplified - Python to .app
55# jay3332 - Number Abbreviation
66# Cryptogrounds / Considera Core
7+ # https://github.com/Gooodgis/dont-touch-my-presents
78
89import pygame
910import random
You can’t perform that action at this time.
0 commit comments