Skip to content

Commit

Permalink
[run workflow] use a wildcard
Browse files Browse the repository at this point in the history
  • Loading branch information
itsnebulalol committed Jul 24, 2022
1 parent e8b0822 commit 72585fc
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,9 @@ jobs:
# Run script
- name: Run script
run: python main.py -u ${{ github.event.inputs.ipa }} -n -d
id: run_script

# Get name of app
- name: Get name of app
shell: python
run: |
s = """${{ steps.run_script.outputs.* }}"""
new_s = s.splitlines()[-1].replace("[*] Output file: ", "")
print(f"::set-output name=content::{new_s}")
id: app_name

# Upload test artifact
- uses: actions/upload-artifact@v3
with:
name: ${{ steps.app_name.outputs.* }}
path: output/${{ steps.app_name.outputs.* }}
name: App.deb
path: output/*

0 comments on commit 72585fc

Please sign in to comment.