Skip to content

Commit

Permalink
ci: publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
acodeninja committed Mar 18, 2024
1 parent 17ff236 commit 4e9ab09
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: publish

on: [push]

env:
PACK_VERSION: 0.33.2

jobs:
push-to-ghcr:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- name: setup-pack
run: |
curl -sL "https://github.com/buildpacks/pack/releases/download/v$PACK_VERSION/pack-v$PACK_VERSION-linux.tgz" -o pack.tgz
tar -zxf pack.tgz
rm pack.tgz
sudo mv pack /usr/bin/pack
pack --version
- name: install yj
run: |
curl -sL "https://github.com/sclevine/yj/releases/download/v5.1.0/yj-linux-amd64" -o yj
chmod +x yj
- name: get buildpack version
run: cat playwright/python/buildpack.toml | ./yj -t | jq

0 comments on commit 4e9ab09

Please sign in to comment.