Skip to content

Instantly share code, notes, and snippets.

@weibeld
Created August 2, 2020 11:55
Show Gist options
  • Save weibeld/44a8513972f6e06fa4321098a991b884 to your computer and use it in GitHub Desktop.
Save weibeld/44a8513972f6e06fa4321098a991b884 to your computer and use it in GitHub Desktop.
GitHub Actions example workflow — Outputs 3
name: outputs-3
on: workflow_dispatch
jobs:
my-job:
runs-on: ubuntu-latest
steps:
- name: step-1
id: xyz
uses: actions/create-release@v1
with:
tag_name: 0.0.1
release_name: 0.0.1
body: "This is release 0.0.1"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: step-2
run: echo "${{ steps.xyz.outputs.html_url }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment