Fix actions workflow
This commit is contained in:
		
							parent
							
								
									8616c70f21
								
							
						
					
					
						commit
						74a70406e3
					
				
					 1 changed files with 4 additions and 11 deletions
				
			
		| 
						 | 
					@ -5,19 +5,16 @@ on:
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  build-artifacts:
 | 
					  build-artifacts:
 | 
				
			||||||
    runs-on: docker
 | 
					    runs-on: docker
 | 
				
			||||||
 | 
					    container:
 | 
				
			||||||
 | 
					      image: registry.serguzim.me/emgauwa/runner
 | 
				
			||||||
    strategy:
 | 
					    strategy:
 | 
				
			||||||
      matrix:
 | 
					      matrix:
 | 
				
			||||||
        arch:
 | 
					        arch:
 | 
				
			||||||
          #- x86_64-unknown-linux-musl # for docker
 | 
					          - x86_64-unknown-linux-gnu # for "standard" systems
 | 
				
			||||||
 | 
					          - x86_64-unknown-linux-musl # for docker
 | 
				
			||||||
          - arm-unknown-linux-gnueabihf # for raspberry pi
 | 
					          - arm-unknown-linux-gnueabihf # for raspberry pi
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: https://code.forgejo.org/actions/checkout@v3
 | 
					      - uses: https://code.forgejo.org/actions/checkout@v3
 | 
				
			||||||
      - name: Set up Docker Buildx
 | 
					 | 
				
			||||||
        uses: docker/setup-buildx-action@v3
 | 
					 | 
				
			||||||
      - id: install-dependencies
 | 
					 | 
				
			||||||
        run: |
 | 
					 | 
				
			||||||
          curl https://sh.rustup.rs -sSf | sh -s -- -y
 | 
					 | 
				
			||||||
        shell: bash
 | 
					 | 
				
			||||||
      - id: cargo-build-release
 | 
					      - id: cargo-build-release
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          source "$HOME/.cargo/env"
 | 
					          source "$HOME/.cargo/env"
 | 
				
			||||||
| 
						 | 
					@ -27,7 +24,3 @@ jobs:
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: emgauwa-core_${{ matrix.arch }}
 | 
					          name: emgauwa-core_${{ matrix.arch }}
 | 
				
			||||||
          path: ${{ github.workspace }}/target/${{ matrix.arch }}/release/emgauwa-core
 | 
					          path: ${{ github.workspace }}/target/${{ matrix.arch }}/release/emgauwa-core
 | 
				
			||||||
      - uses: https://code.forgejo.org/actions/upload-artifact@v3
 | 
					 | 
				
			||||||
        with:
 | 
					 | 
				
			||||||
          name: emgauwa-controller_${{ matrix.arch }}
 | 
					 | 
				
			||||||
          path: ${{ github.workspace }}/target/${{ matrix.arch }}/release/emgauwa-controller
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue