Skip to content

Commit f04f8c8

Browse files
committed
Fetch repo as part of action
1 parent e8a3a97 commit f04f8c8

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

.github/workflows/test.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010

11-
- name: Check out repository
12-
uses: actions/checkout@v2
13-
1411
- name: Download binary test
1512
uses: charlieegan3/fetch-gh-release-binary@main
1613
with:

action.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,18 @@ inputs:
2727
runs:
2828
using: "composite"
2929
steps:
30+
- name: Check out repository
31+
uses: actions/checkout@v2
32+
with:
33+
repository: charlieegan3/fetch-gh-release-binary
3034
- run: |
31-
32-
curl -LO https://github.com/charlieegan3/airtable-contacts/releases/download/0.7.0/airtable-contacts_0.7.0_Linux_x86_64.tar.gz
33-
tar -zxf airtable-contacts_0.7.0_Linux_x86_64.tar.gz
34-
md5sum ./airtable-contacts
35-
36-
3735
go run main.go \
3836
"-owner=${{ inputs.owner }}" \
3937
"-repo=${{ inputs.repo }}" \
4038
"-version=${{ inputs.version }}" \
4139
"-asset-pattern=${{ inputs.asset-pattern }}" \
4240
"-install-path=${{ inputs.install-path }}" \
4341
"-verbose=${{ inputs.verbose }}"
44-
45-
md5sum /usr/local/bin/airtable-contacts
4642
shell: bash
4743
branding:
4844
icon: arrow-down-circle

0 commit comments

Comments
 (0)