Skip to content

Commit

Permalink
Add action for updating actor info
Browse files Browse the repository at this point in the history
  • Loading branch information
Schwartz10 committed Oct 6, 2022
1 parent 0c32385 commit 0aab129
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/actorcodes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: update actor codes

on:
workflow_dispatch:

env:
node_version: 16
git_email: jpschwartz2@uwalumni.com

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: glifio/filecoin-descriptors
submodules: recursive

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- run: |
go get ./...
go run *.go
- uses: actions/upload-artifact@v3
with:
name: actor-info
path: output/

- uses: actions/checkout@v3

- run: rm -rf packages/filecoin-actor-utils/src/data
- run: mkdir -p packages/filecoin-actor-utils/src/data

- uses: actions/download-artifact@v3
with:
name: actor-info
path: packages/filecoin-actor-utils/src/data

- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
commit-message: Update actor-info
committer: ${{ github.actor }} <${{ env.git_email }}>
author: ${{ github.actor }} <${{ env.git_email }}>
branch: actions/update-actor-info
delete-branch: true
title: "Update actor codes and descriptors"
body: "Update actor codes and descriptors"
labels: |
automated pr

0 comments on commit 0aab129

Please sign in to comment.