parent
							
								
									ab7c74f888
								
							
						
					
					
						commit
						6222075b6f
					
				
					 32 changed files with 18 additions and 530 deletions
				
			
		| 
						 | 
				
			
			@ -3,13 +3,8 @@ on:
 | 
			
		|||
    tags:
 | 
			
		||||
      - v**
 | 
			
		||||
jobs:
 | 
			
		||||
  build-artifacts:
 | 
			
		||||
  release:
 | 
			
		||||
    runs-on: docker
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
        tool:
 | 
			
		||||
          - autoinstall
 | 
			
		||||
          - autostart-manage
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: https://code.forgejo.org/actions/checkout@v3
 | 
			
		||||
      - id: install-dependencies
 | 
			
		||||
| 
						 | 
				
			
			@ -20,28 +15,17 @@ jobs:
 | 
			
		|||
        shell: bash
 | 
			
		||||
      - id: run-bashly
 | 
			
		||||
        run: |
 | 
			
		||||
          echo "${{ matrix.tool }}" > .target
 | 
			
		||||
          make generate
 | 
			
		||||
          make docs
 | 
			
		||||
        shell: bash
 | 
			
		||||
      - uses: https://code.forgejo.org/actions/upload-artifact@v3
 | 
			
		||||
        with:
 | 
			
		||||
          name: ${{ matrix.tool }}
 | 
			
		||||
          path: ${{ github.workspace }}/output/${{ matrix.tool }}
 | 
			
		||||
  upload-release:
 | 
			
		||||
    runs-on: docker
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: https://code.forgejo.org/actions/checkout@v3
 | 
			
		||||
      - uses: https://code.forgejo.org/actions/download-artifact@v3
 | 
			
		||||
        with:
 | 
			
		||||
          path: /tmp/artifacts-in
 | 
			
		||||
          merge-multiple: true # broken "collect-artifacts" used as workaround
 | 
			
		||||
      - id: collect-artifacts
 | 
			
		||||
      - id: prepare-release
 | 
			
		||||
        run: |
 | 
			
		||||
          mkdir /tmp/artifacts-out
 | 
			
		||||
          mv $(find /tmp/artifacts-in -type f) /tmp/artifacts-out
 | 
			
		||||
          mkdir /tmp/release
 | 
			
		||||
          cp ./autostart-manage /tmp/release
 | 
			
		||||
          cp -r ./man1 /tmp/release
 | 
			
		||||
        shell: bash
 | 
			
		||||
      - uses: https://code.forgejo.org/actions/forgejo-release@v1
 | 
			
		||||
        with:
 | 
			
		||||
          direction: upload
 | 
			
		||||
          release-dir: /tmp/artifacts-out
 | 
			
		||||
          release-dir: /tmp/release
 | 
			
		||||
          token: ${{ github.token }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue