Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
calebdoxsey committed Apr 17, 2023
1 parent fa6a5b3 commit 627da30
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
name: Release

on:
workflow_dispatch:
inputs:
envoyVersion:
description: "Envoy Version"
required: true
pull_request:
release:
types:
- published

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: tag name
id: tagName
run: |
TAG=${GITHUB_REF##*/}
# echo ::set-output name=tag::${TAG}
echo ::set-output name=tag::v1.25.5
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
with:
Expand All @@ -30,13 +36,13 @@ jobs:
- name: fetch envoy
run: |
./scripts/fetch-envoy ${{ github.event.inputs.envoyVersion }} darwin amd64
./scripts/fetch-envoy ${{ github.event.inputs.envoyVersion }} darwin arm64
./scripts/fetch-envoy ${{ github.event.inputs.envoyVersion }} linux amd64
./scripts/fetch-envoy ${{ github.event.inputs.envoyVersion }} linux arm64
./scripts/fetch-envoy ${{ steps.tagName.outputs.tag }} darwin amd64
./scripts/fetch-envoy ${{ steps.tagName.outputs.tag }} darwin arm64
./scripts/fetch-envoy ${{ steps.tagName.outputs.tag }} linux amd64
./scripts/fetch-envoy ${{ steps.tagName.outputs.tag }} linux arm64
- name: Upload artifacts to release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ github.event.inputs.envoyVersion }} bin/envoy-*
gh release upload ${{ steps.tagName.outputs.tag }} bin/envoy-*

0 comments on commit 627da30

Please sign in to comment.