Skip to content

fix: snforge test

fix: snforge test #2

Workflow file for this run

name: release
on:
push:
tags:
- 'v*.*.*'
jobs:
artifact:
permissions:
contents: write
pull-requests: write
name: artifact
runs-on: ubuntu-latest
steps:

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
- uses: actions/checkout@v4
- name: Build contracts
run: scarb build
- name: Archive contracts
uses: actions/upload-artifact@v2
with:
name: artifacts
path: ./target/dev
- name: Generate checksums
run: |
cd ./target/dev
for file in *; do
sha256sum "$file" > "$file.sha256"
md5sum "$file" > "$file.md5"
done
release:
needs: artifact
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: artifacts
path: ./target/dev
- name: Release Artifact
uses: softprops/action-gh-release@v1
with:
files: |
./target/dev/*