Skip to content

Commit

Permalink
Update GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledhosny committed Nov 1, 2024
1 parent 248d8fb commit d33a14f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:

steps:
- name: Fetch
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Unshallow
run: git fetch --prune --unshallow --tags --force
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
Expand All @@ -27,7 +27,7 @@ jobs:
make -j -B dist
- name: Upload artifacts
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: dist
path: Amiri-*.zip
Expand All @@ -39,10 +39,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Download artifacts
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
path: dist

Expand All @@ -55,7 +55,7 @@ jobs:
echo "release_name=$(git tag -l --format='%(contents:subject)' ${{ github.ref_name }})" >> $GITHUB_ENV
- name: Publish
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
name: ${{ env.release_name }}
body_path: ${{ runner.temp }}/release_body.md
Expand Down

0 comments on commit d33a14f

Please sign in to comment.