mirror of
				https://github.com/R2Northstar/Northstar
				synced 2025-10-30 23:50:52 +01:00 
			
		
		
		
	Compare commits
	
		
			7 Commits
		
	
	
		
			v1.18.0
			...
			v1.19.11-r
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 72e8e50d77 | ||
|   | 8fb1f315bb | ||
|   | 4dccb376ec | ||
|   | ec0491e1e3 | ||
|   | cd971e5c0d | ||
|   | 587363f257 | ||
|   | 711676ec8a | 
							
								
								
									
										20
									
								
								.github/workflows/add-to-project.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								.github/workflows/add-to-project.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | |||||||
|  | name: add-to-project | ||||||
|  |  | ||||||
|  | on: | ||||||
|  |   issues: | ||||||
|  |     types: | ||||||
|  |       - opened | ||||||
|  |   pull_request_target: | ||||||
|  |     types: | ||||||
|  |       - opened | ||||||
|  |  | ||||||
|  | jobs: | ||||||
|  |   add-to-project: | ||||||
|  |     name: Add to project | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |     steps: | ||||||
|  |       - uses: actions/add-to-project@v0.5.0 | ||||||
|  |         with: | ||||||
|  |           project-url: "https://github.com/orgs/R2Northstar/projects/3" | ||||||
|  |           github-token: "${{ secrets.PROJECT_BOARD_TOKEN }}" | ||||||
|  |  | ||||||
							
								
								
									
										6
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -20,6 +20,10 @@ jobs: | |||||||
|   build-northstar: |   build-northstar: | ||||||
|     runs-on: ubuntu-20.04 |     runs-on: ubuntu-20.04 | ||||||
|     steps: |     steps: | ||||||
|  |       - name: Wait for launcher release build to be ready | ||||||
|  |         timeout-minutes: 30 # Only wait for 30 minutes. If we take longer, something probably broke | ||||||
|  |         run: | ||||||
|  |           bash wait_for_launcher_dl.sh | ||||||
|       - name: Download compiled launcher |       - name: Download compiled launcher | ||||||
|         run: |         run: | ||||||
|           wget "https://github.com/R2Northstar/NorthstarLauncher/releases/download/${{ env.NORTHSTAR_VERSION }}/northstar-launcher.zip" |           wget "https://github.com/R2Northstar/NorthstarLauncher/releases/download/${{ env.NORTHSTAR_VERSION }}/northstar-launcher.zip" | ||||||
| @@ -60,7 +64,7 @@ jobs: | |||||||
|           mkdir -p northstar/bin/x64_dedi |           mkdir -p northstar/bin/x64_dedi | ||||||
|  |  | ||||||
|           unzip northstar-discord-rpc.zip -d northstar/R2Northstar/plugins |           unzip northstar-discord-rpc.zip -d northstar/R2Northstar/plugins | ||||||
|            |  | ||||||
|           unzip NorthstarStubs.zip -d northstar/bin/x64_dedi |           unzip NorthstarStubs.zip -d northstar/bin/x64_dedi | ||||||
|           unzip northstar-launcher.zip -d northstar |           unzip northstar-launcher.zip -d northstar | ||||||
|           rsync -avr --exclude="Northstar.Coop" --exclude=".git*" northstar-mods/. northstar/R2Northstar/mods |           rsync -avr --exclude="Northstar.Coop" --exclude=".git*" northstar-mods/. northstar/R2Northstar/mods | ||||||
|   | |||||||
							
								
								
									
										17
									
								
								.github/workflows/post-to-mastodon.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								.github/workflows/post-to-mastodon.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | |||||||
|  | name: Post-to-Mastodon | ||||||
|  | on: | ||||||
|  |   release: | ||||||
|  |     types: [published] | ||||||
|  |  | ||||||
|  | jobs: | ||||||
|  |   toot: | ||||||
|  |     runs-on: ubuntu-22.04 | ||||||
|  |     steps: | ||||||
|  |       - name: Send toot to Mastodon | ||||||
|  |         id: mastodon | ||||||
|  |         uses: cbrgm/mastodon-github-action@v1 | ||||||
|  |         with: | ||||||
|  |           message: "We just released Northstar ${{ github.event.release.tag_name }}\n\n${{ github.event.release.html_url }}" | ||||||
|  |         env: | ||||||
|  |           MASTODON_URL: ${{ secrets.MASTODON_URL }} | ||||||
|  |           MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }} | ||||||
							
								
								
									
										26
									
								
								wait_for_launcher_dl.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										26
									
								
								wait_for_launcher_dl.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,26 @@ | |||||||
|  | #!/bin/bash | ||||||
|  |  | ||||||
|  | # Check if contains command line arg | ||||||
|  | if [ -z "$1" ]; then | ||||||
|  |     echo "Missing command-line argument." | ||||||
|  |     exit 1 | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | url="https://github.com/R2Northstar/NorthstarLauncher/releases/tag/$1" | ||||||
|  | wait_time_seconds=60 | ||||||
|  |  | ||||||
|  | # Loop until the response code changes | ||||||
|  | while true; do | ||||||
|  |     response=$(curl --silent --output /dev/null --write-out "%{http_code}" $url) | ||||||
|  |     if [ $response -ne 200 ]; then | ||||||
|  |         echo "Response is not 200. Retrying in $wait_time_seconds seconds." | ||||||
|  |         sleep $wait_time_seconds | ||||||
|  |     else | ||||||
|  |         echo "Site is accessible with response code $response." | ||||||
|  |         break | ||||||
|  |     fi | ||||||
|  | done | ||||||
|  |  | ||||||
|  | # 10 second sleep just in case we hit some weird race condition | ||||||
|  | # where files are still being uploaded but release is done | ||||||
|  | sleep 10 | ||||||
		Reference in New Issue
	
	Block a user