Skip to content

release

release #28

Workflow file for this run

name: release
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
name: Docker images for ghcr.io
runs-on: ubuntu-latest
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
DOCKER_REGISTRY: ghcr.io
DOCKER_IMAGE_BASE: ${{ github.repository }}
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to the registry
uses: docker/login-action@v2
with:
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# Prover and Verifier and deb
- name: Get tag name
id: tag
run: echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
- name: Extract files and build DEB package
id: tag

Check failure on line 36 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 36, Col: 13): The identifier 'tag' may not be used more than once within the same scope.
run: |
chmod +x ./build_deb.sh # Ensure your script is executable
./build_deb.sh ${{ steps.tag.outputs.tag }}
- name: Verify file existence#2
run: ls -la /tmp/stone-prover
- name: Upload files to a GitHub release
id: create_release
uses: softprops/action-gh-release@v2
with:
files: /tmp/stone-prover/cpu_air*
- name: Upload dep to a GitHub release
id: create_release_deb
uses: softprops/action-gh-release@v2
with:
files: /tmp/stone-prover/stone-prover.deb