Skip to content

fix release

fix release #11

Workflow file for this run

name: Creating zip archives and publish them
on:
push:
branches:
- master
paths:
- '*/*/*/*.rkt'
- '*/*/*/*.hs'
- '*/*/*/*.pl'
jobs:
zip-and-upload:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Zip code
uses: vimtor/[email protected]
with:
files: ./racket/intro/schelet/palindromes.rkt
dest: racket-intro-skel.zip
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: latest

Check failure on line 32 in .github/workflows/zip-code.yml

View workflow run for this annotation

GitHub Actions / Creating zip archives and publish them

Invalid workflow file

The workflow is not valid. .github/workflows/zip-code.yml (Line: 32, Col: 17): A mapping was not expected
release_name: racket-intro-skel
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./racket-intro-skel.zip
asset_name: racket-intro-skel.zip
asset_content_type: application/zip