build: attempt to create release from a Docker container #6
| @@ -2,6 +2,10 @@ | ||||
|  | ||||
| set -e | ||||
|  | ||||
| echo "Downloading dependencies" | ||||
| apt-get update > /dev/null 2>&1 | ||||
| apt-get install -y build-essential software-properties-common > /dev/null 2>&1 | ||||
|  | ||||
| # setup | ||||
| mkdir build | ||||
| cd build | ||||
|   | ||||
| @@ -14,8 +14,14 @@ jobs: | ||||
|           lfs: false | ||||
|  | ||||
|       - name: Create release | ||||
|         run: | | ||||
|           ./.gitea/scripts/ci.sh | ||||
|         uses: addnab/docker-run-action@v3 | ||||
|         with: | ||||
|           image: ubuntu:noble | ||||
|           options: --volumes-from=${{ env.JOB_CONTAINER_NAME }} | ||||
|           run: | | ||||
|             cd ${{ github.workspace }} | ||||
|             export TZ=America/Los_Angeles | ||||
|             ./.gitea/scripts/ci.sh | ||||
|  | ||||
|       - name: Upload release | ||||
|         uses: actions/upload-artifact@v3 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user