Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Github actions #6

Merged
merged 19 commits into from
Dec 15, 2023
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- srtool
- safe-transaction-service
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: benjlevesque/[email protected]

Expand Down
56 changes: 56 additions & 0 deletions .github/workflows/playground.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Playground

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
artifact-upload:
name: Artifact upload
runs-on: ubuntu-latest
strategy:
matrix:
animal: [cat, dog]
steps:
- uses: actions/checkout@v4

- name: Set name
run: |
mkdir build
echo '${{ matrix.animal }}' >> build/${{ matrix.animal }}.txt

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.animal }}
path: build

artifact-download:
name: Artifact download
runs-on: ubuntu-latest
needs: [artifact-upload]
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
path: build

- name: Check downloaded
run: |
ls -R build

clean-artifacts:
name: Clean artifacts
runs-on: ubuntu-latest
needs: [artifact-download]
if: always()
steps:
- uses: geekyeggo/delete-artifact@v2
with:
name: |
artifact-cat

2 changes: 1 addition & 1 deletion .github/workflows/trigger-tracing-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- mainnets
- testnets
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down