Skip to content

Commit

Permalink
github-action: fix snapshoty (#2343)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored May 7, 2024
1 parent 5bac600 commit 3f2c5dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/snapshoty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@ jobs:

# used by opbeans .NET to reference the on commit nuget packages
# TODO: update opbeans to use our feedz.io packages
- uses: actions/download-artifact@v3
- name: Retrieve the artifact uploaded from `test-linux.yml` workflow
uses: actions/download-artifact@v4
with:
name: snapshoty-linux
path: build/output

# - uses: actions/download-artifact@v3
# with:
# name: snapshoty-windows
# path: build/output
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}

- name: Display structure of downloaded files
run: find build -type f
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
- name: Package
run: ./build.sh pack

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: github.event_name == 'push' && startswith(github.ref, 'refs/heads')
with:
name: snapshoty-linux
path: build/output/*
retention-days: 1
name: snapshoty-linux
path: build/output/*
retention-days: 1

tests:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3f2c5dd

Please sign in to comment.