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

fix actions #696

Merged
merged 2 commits into from
Feb 21, 2024
Merged

fix actions #696

merged 2 commits into from
Feb 21, 2024

Conversation

lapp0
Copy link
Collaborator

@lapp0 lapp0 commented Feb 21, 2024

Release Docker dispatch: https://github.com/lapp0/outlines/actions/runs/7994419887

  • "Fails successfully": Got to the point where it only auth errors. Error: buildx failed with: ERROR: denied: requested access to the resource is denied

Not testing fetch PyPi. Changes are minimal between this version and the previous working main.

git diff e99d92d024dbf6f6bff10a9c3954f326cf4a0cd3 -- .github/workflows/release_pypi.yaml .github/workflows/release.yml | cat
diff --git a/.github/workflows/release.yml b/.github/workflows/release_pypi.yaml
similarity index 92%
rename from .github/workflows/release.yml
rename to .github/workflows/release_pypi.yaml
index e6bf1b1..597ebb7 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release_pypi.yaml
@@ -1,16 +1,17 @@
-name: Release
+name: Release PyPi
 
 on:
   release:
     types:
       - created
-
 jobs:
   release-job:
     name: Build and publish on PyPi
     runs-on: ubuntu-latest
+    environment: release
     steps:
-    - uses: actions/checkout@v2
+    - name: Checkout
+      uses: actions/checkout@v2
     - name: Set up Python
       uses: actions/setup-python@v2
       with:

@lapp0 lapp0 marked this pull request as ready for review February 21, 2024 19:30
@rlouf rlouf merged commit 10871cf into outlines-dev:main Feb 21, 2024
4 checks passed
@rlouf
Copy link
Member

rlouf commented Feb 21, 2024

Now works, thank you for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants