Skip to content

Commit

Permalink
Clean up workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jabellard committed Jul 12, 2024
1 parent 83d5322 commit 41ecd63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 29 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,34 +49,6 @@ jobs:
with:
name: "BuildArtifacts"
path: "./Artifacts"

push-github-packages:
name: "Push GitHub Packages"
needs: build
if: github.ref == 'refs/heads/main' || github.event_name == 'release'
environment:
name: "GitHub Packages"
url: https://github.com/bloomberg/sable/packages
permissions:
packages: write
runs-on: ubuntu-latest
steps:
- name: "Download Artifact"
uses: actions/[email protected]
with:
name: "BuildArtifacts"
- name: "Dotnet NuGet Add Source"
run: dotnet nuget add source https://nuget.pkg.github.com/bloomberg/index.json --name GitHub --username bloomberg --password ${{secrets.GITHUB_TOKEN}} --store-password-in-clear-text
shell: bash
- name: "Dotnet NuGet Push"
run: |
for package in *.nupkg; do
dotnet nuget push "$package" \
--source GitHub \
--skip-duplicate \
--api-key ${{ github.token }}
done
shell: bash

push-nuget:
name: "Push NuGet Packages"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
# Upload docs artifacts
path: './docs'
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 41ecd63

Please sign in to comment.