Skip to content

Use actions/upload-artifact@v4 in GHA workflow #40

Use actions/upload-artifact@v4 in GHA workflow

Use actions/upload-artifact@v4 in GHA workflow #40

Workflow file for this run

name: Proto rules
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run tests
run: ./pleasew test --log_file plz-out/log/test.log
- name: Archive logs
if: always()
uses: actions/upload-artifact@v4
with:
name: logs
path: plz-out/log
release:
needs: [test]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: tatskaari/release-action@master