ci: an attemp to update the CI to upload the LICENSE file to the release assets

pull/1875/head
Ellet 11 months ago
parent dd23f7aace
commit 171e6f0c41
  1. 9
      .github/workflows/publish.yml

@ -9,15 +9,16 @@ jobs:
publish: publish:
permissions: permissions:
id-token: write id-token: write
contents: write # For uploading to the release assets
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Upload the License to the release assets - name: Upload LICENSE to the release assets
uses: actions/upload-artifact@v4 uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with: with:
name: LICENSE files: LICENSE
path: LICENSE
- uses: subosito/flutter-action@v2 - uses: subosito/flutter-action@v2
with: with:

Loading…
Cancel
Save