diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f4d54a..d8e14aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,8 +76,6 @@ jobs: needs: [release] runs-on: ubuntu-latest if: ${{ (github.event_name != 'workflow_dispatch') || (contains(fromJson('["all", "linux", "all_incl_release"]'), github.event.inputs.build-items)) }} - permissions: - id-token: write steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -97,14 +95,14 @@ jobs: twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }} --skip-existing this_tag=$(python -c "import eos;print('v'+eos.__version__)") echo "RELEASE_TAG=$this_tag" >> $GITHUB_ENV -# - name: Update Release -# if: ${{ (github.event_name != 'workflow_dispatch') || (contains(fromJson('["all_incl_release"]'), github.event.inputs.build-items)) }} -# uses: actions/gitea-release-action@v1 -# with: -# name: "Amor-Eos ${{ env.RELEASE_TAG }}" -# tag_name: "${{ env.RELEASE_TAG }}" -# files: |- -# dist/amor*.tar.gz + - name: Update Release + if: ${{ (github.event_name != 'workflow_dispatch') || (contains(fromJson('["all_incl_release"]'), github.event.inputs.build-items)) }} + uses: actions/gitea-release-action@v1 + with: + name: "Amor-Eos ${{ env.RELEASE_TAG }}" + tag_name: "${{ env.RELEASE_TAG }}" + files: |- + dist/amor*.tar.gz build-windows: needs: [release]