mirror of
				https://github.com/nixietab/picodulce.git
				synced 2025-10-31 05:25:12 +00:00 
			
		
		
		
	Compare commits
	
		
			No commits in common. "b55ac71db1bbecc79dc06cdb3df289225c815d0d" and "70f6b2b59cc9871cf01fb792b8a6da377665e790" have entirely different histories.
		
	
	
		
			b55ac71db1
			...
			70f6b2b59c
		
	
		
							
								
								
									
										67
									
								
								.github/workflows/Build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										67
									
								
								.github/workflows/Build.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,67 +0,0 @@ | |||||||
| 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,5 +1,5 @@ | |||||||
| { | { | ||||||
|   "version": "0.11.3", |   "version": "0.11.2", | ||||||
|   "links": [ |   "links": [ | ||||||
|     "https://raw.githubusercontent.com/nixietab/picodulce/main/version.json", |     "https://raw.githubusercontent.com/nixietab/picodulce/main/version.json", | ||||||
|     "https://raw.githubusercontent.com/nixietab/picodulce/main/picodulce.py", |     "https://raw.githubusercontent.com/nixietab/picodulce/main/picodulce.py", | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user