mirror of
				https://github.com/nixietab/picodulce.git
				synced 2025-10-30 21:15:11 +00:00 
			
		
		
		
	Compare commits
	
		
			53 Commits
		
	
	
		
			34c36c5b88
			...
			07571aaeb0
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 07571aaeb0 | ||
|   | 63dc90b239 | ||
|   | fc4ac0ba56 | ||
|   | 15c161faff | ||
|   | 2db2f1b18b | ||
|   | a582b497f8 | ||
|   | 93d607229e | ||
|   | 9634a378ab | ||
|   | 247f801d35 | ||
|   | 645cfeb52b | ||
|   | 6596ad44f8 | ||
|   | 228565daf3 | ||
|   | b45951cab6 | ||
|   | 76d88787ac | ||
|   | 19332fd936 | ||
|   | cef44074c5 | ||
|   | 2a4ba7cfcf | ||
|   | e6b4a7acf3 | ||
|   | 97215e4c75 | ||
|   | 6c93ab07c5 | ||
|   | 14855f2f00 | ||
|   | 897fa4c8b7 | ||
|   | 7ca5855198 | ||
|   | 5a6bdd3aad | ||
|   | b35063d0b2 | ||
|   | fe6d409fb5 | ||
|   | bce36c3728 | ||
|   | aa8a72c8cb | ||
|   | b3155b4844 | ||
|   | aaf141e338 | ||
|   | c125f440f8 | ||
|   | 1543b36eb5 | ||
|   | eb6b27ed23 | ||
|   | 0702f918dd | ||
|   | 5792bcb6eb | ||
|   | b6241e7aad | ||
|   | 0ac8a1bf51 | ||
|   | 60e532b604 | ||
|   | 52b07aab71 | ||
|   | bb48b3e293 | ||
|   | f86bb54abe | ||
|   | 35e1cd7d17 | ||
|   | c0ce394fda | ||
|   | 1f739f25e8 | ||
|   | 2d362843c2 | ||
|   | ae14820c4d | ||
|   | 50b3f09ed1 | ||
|   | b9bf71334b | ||
|   | 40bf8ea23e | ||
|   | 89cf8218f8 | ||
|   | 520a1b500f | ||
|   | b6a3218bf6 | ||
|   | c1c98aafae | 
							
								
								
									
										67
									
								
								.github/workflows/Build.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										67
									
								
								.github/workflows/Build.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,67 @@ | |||||||
|  | name: Version Change Action | ||||||
|  | 
 | ||||||
|  | on: | ||||||
|  |   push: | ||||||
|  |     paths: | ||||||
|  |       - version.json  # Trigger on changes to version.json | ||||||
|  | 
 | ||||||
|  | jobs: | ||||||
|  |   version-release: | ||||||
|  |     runs-on: windows-latest  # Use Windows 10 runner | ||||||
|  | 
 | ||||||
|  |     steps: | ||||||
|  |     - name: Checkout repository | ||||||
|  |       uses: actions/checkout@v3 | ||||||
|  | 
 | ||||||
|  |     - name: Set up Python | ||||||
|  |       uses: actions/setup-python@v4 | ||||||
|  |       with: | ||||||
|  |         python-version: '3.x'  # Specify the Python version you need | ||||||
|  | 
 | ||||||
|  |     - name: Install dependencies | ||||||
|  |       run: | | ||||||
|  |         python -m pip install --upgrade pip | ||||||
|  |         pip install pyqt5 requests pywin32 pyinstaller pillow  # Install specific dependencies | ||||||
|  | 
 | ||||||
|  |     - name: Create actions-temp folder | ||||||
|  |       run: mkdir actions-temp  # Create the folder called actions-temp | ||||||
|  | 
 | ||||||
|  |     - name: Download picoBuild.py script | ||||||
|  |       run: curl -L -o actions-temp/picoBuild.py https://raw.githubusercontent.com/nixietab/picodulce-build-script/refs/heads/main/picoBuild.py | ||||||
|  | 
 | ||||||
|  |     - name: Run picoBuild.py script | ||||||
|  |       run: python actions-temp/picoBuild.py | ||||||
|  | 
 | ||||||
|  |     - name: Show directory structure | ||||||
|  |       run: |  | ||||||
|  |         dir actions-temp | ||||||
|  |         dir | ||||||
|  |        | ||||||
|  |     - name: Get version and name from version.json | ||||||
|  |       id: version_info | ||||||
|  |       run: | | ||||||
|  |         $versionJson = Get-Content version.json | ConvertFrom-Json | ||||||
|  |         echo "RELEASE_NAME=Release $($versionJson.version)" >> $env:GITHUB_ENV | ||||||
|  |         echo "RELEASE_TAG=$($versionJson.version)" >> $env:GITHUB_ENV | ||||||
|  | 
 | ||||||
|  |     - name: Create GitHub Release | ||||||
|  |       id: create_release | ||||||
|  |       uses: actions/create-release@v1 | ||||||
|  |       with: | ||||||
|  |         tag_name: ${{ env.RELEASE_TAG }} | ||||||
|  |         release_name: ${{ env.RELEASE_NAME }} | ||||||
|  |         body: "This release was created automatically by a GitHub Action." | ||||||
|  |         draft: false | ||||||
|  |         prerelease: false | ||||||
|  |       env: | ||||||
|  |         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||
|  | 
 | ||||||
|  |     - name: Upload Release Asset | ||||||
|  |       uses: actions/upload-release-asset@v1 | ||||||
|  |       with: | ||||||
|  |         upload_url: ${{ steps.create_release.outputs.upload_url }} | ||||||
|  |         asset_path: build/2hsu.exe | ||||||
|  |         asset_name: 2hsu.exe | ||||||
|  |         asset_content_type: application/octet-stream | ||||||
|  |       env: | ||||||
|  |         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||
| @ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "version": "0.11.3", |   "version": "0.11.99", | ||||||
|   "name": "Mysterious Axolotl", |   "name": "Lucky Bastard", | ||||||
|   "links": [ |   "links": [ | ||||||
|     "https://raw.githubusercontent.com/nixietab/picodulce/canary/version.json", |     "https://raw.githubusercontent.com/nixietab/picodulce/canary/version.json", | ||||||
|     "https://raw.githubusercontent.com/nixietab/picodulce/canary/picodulce.py", |     "https://raw.githubusercontent.com/nixietab/picodulce/canary/picodulce.py", | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user