Skip to content

Commit

Permalink
Remove input from release.yml (doH!)
Browse files Browse the repository at this point in the history
  • Loading branch information
aniongithub committed Aug 22, 2021
1 parent 2065f70 commit f2bc7b3
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ on:
branches:
- main
- feature-*
inputs:
pifile:
description: "path/to/pifile (without extension)"
default: examples/simple/simple
required: true

jobs:
release:
Expand All @@ -23,17 +18,17 @@ jobs:
- name: Write secrets.env
env:
SECRETS: ${{ secrets.SECRETS_ENV }}
PIFILE: ${{ github.event.inputs.pifile }}.Pifile
PIFILE: examples/simple/simple.Pifile
run: |
echo $SECRETS > $(dirname $PIFILE)/secrets.env
- name: Build image
uses: Nature40/[email protected]
with:
pifile: ${{ github.event.inputs.pifile }}.Pifile
pifile: examples/simple/simple.Pifile

- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: ${{ github.workflow }}-${{ github.event.release.tag_name }}.zip
path: ${{ github.event.inputs.pifile }}.img
path: examples/simple/simple.img

0 comments on commit f2bc7b3

Please sign in to comment.